WP Simple Pay: Add Custom Field Data to Customer Metadata
Retrieve the value of a custom field and add it as metadata to the Stripe Customer…
Adding a Custom Filter when using Other SMTP Setting
This snippet will help in troubleshooting steps from "SMTP Error: Could not authenticate".
File Size Display
After the download content, shows a list of the download files and their sizes
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Combine and Minify CSS
Combine and Minify CSS
Add WPCode Custom Field Smart Tag
Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…
WP Simple Pay: Create WordPress User After Payment (Lite)
Creates a new WordPress user when one-time payment is made with WP Simple Pay Lite.
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
WP Simple Pay: Add Email Address to Payment Confirmation URL
Append the submitted email address to the payment confirmation page URL.
Verify Email Domain
During the banned email checks, see if the domain being checked has DNS configured, if not…
Move WPCode Status Column
This snippet makes the status column the 2nd column in the admin list of snippets.
Show local fonts in block editor
Display custom fonts in the backend editor
Remove Specific Post Type From Public Post Type List
This filter can be used to remove the movie post type from the public post type…
WP Simple Pay: Hide reCAPTCHA Badge
Hide the reCAPTCHA badge and add links to the privacy policy and terms of service. Adds…