WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
WP Simple Pay: Custom Server-Side Validation Before Payment Creation
Perform additional custom server-side validation prior to allowing a payment to be created.
WP Simple Pay: Programmatically Access Payment Metadata After Payment
Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
WP Simple Pay: Add User Meta After Payment
Use the payment email address to look up a WordPress user and add custom meta information.
WP Simple Pay: Facebook Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
sion
sion
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
On Add to Cart Event in EDD
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
Google Search Console
Google Search console snippet
Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
WP Simple Pay: {subtotal} Smart Tag
Adds a {subtotal} Smart Tag.