WP Simple Pay: Translate Stripe Error Messages
For more information about the available error codes and messages visit: https://stripe.com/docs/error-codes
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
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…
Load all Customizer "Additional CSS" in Block Editor
The CSS added to the frontend via the Customizer does not get added to the block…
Disable New User Notifications
Disable the new user notification email for both the admin and user
Add User Email To Donation Summary
This will allow - among other places - for the user email to be displayed on…
MemberPress: Add Category Exception to All Post Rule
Add a category exception to the all posts rule instead of having to add the posts…
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…
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…
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');