WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Change a license activation limit prgramatically.
This snippet is an example of changing the activation limit on a license key based on…
Editing the .htaccess File
php_value memory_limit 256M
Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…
WPForms Custom Real-time Keyword Blocklist
This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…
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…
Redirect from Array
Setup redirect for multiple pages.
Shortcode to show Thumbnail
Show the featured image anywhere in the post by using [thumbnail].
Google Search Console Verification
HTML tag
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.