WP Simple Pay: Add Email Address to Payment Confirmation URL
Append the submitted email address to the payment confirmation page URL.
Disable Posts Post Type
This snippet hides the default Posts post type from the WordPress admin
Google Tag Manager Header
(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=
Add Campaign Creator Export Fields
Add additional campaign fields related to the campaign creator.
How to Build a Profile Page Using Post Submissions
With this snippet and the Post Submissions addon, you can create professional author profiles that automatically…
How to Use Conditional Logic With a Date Picker
/** * Use conditional logic with a date field to show or hide another form field…
Remove Default jQuery
// Remove default WordPress jquery wp_deregister_script( 'jquery' ); //Remove jquery migrate add_action( 'wp_default_scripts', 'remove_jquery_migrate' ); function…
Disable OpenGraph Tags on all Listing Detail Pages
This snippet disables OpenGraph Tags on all pages whose URL contains /listing-detail/
Verify Email Domain
During the banned email checks, see if the domain being checked has DNS configured, if not…
WP Simple Pay: Custom Subscription Price Option Labels
Change the price option labels that are output in the price option selector. Changes the output…
Display Donation Form
Display a specific campaign's donation form.
How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
Allow SVG/JPEG/WEBP/ICO/AVIF Files Upload
Allows these filetypes to be uploaded to the media library