Google Tag Manager - Head

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');

Remove Manage Sites

Removes the Manage Sites column from the licenses table on the customer purchase history page

game_start

Round: 1/5 Cash: $5000 Automobile Production: 1000 units Industry Level: 5 Start New Game Save Game…

MemberPress: Display Corporate Account Logo for Sub-Users

This code snippet allows the custom logo to be displayed as the parent corporate account’s logo…

Redirect from Array

Setup redirect for multiple pages.

<10

Shortcode to show Thumbnail

Show the featured image anywhere in the post by using [thumbnail].

aa

add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…

Paid Memberships Pro with WC Vendors

// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…

Add custom page to the vendor dashboard

// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…

WP Simple Pay: Set a Per-Form Custom Amount Programmatically

Adjust a single payment form's custom amount value programatically.

Combine shortcodes to have more than one month in Fullworks' Event Manager

This snippet combines 3 shortcodes of qem to list the current month, next month and the…

MemberPress: Display Account Tabs Anywhere

This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…

Change a currency symbol AMD to Դրամ

/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…

MemberPress: Prevent users from auto-login after registration

The code snippet is designed to disable the auto-login feature for users who register for a…

1 49 50 51 52 53 217