WP Simple Pay: Programmatically Set Custom Field Default Value

Use metadata as the default value for a payment form's custom field.

Set Custom Donation Receipt Page For Offline Donations

You may want to use a different donation receipt page for Offline donations than your other…

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…

WPForms Custom Real-time Keyword Blocklist

This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…

<10

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');

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 47 48 49 50 51 217