Change user role for buyers
This is useful if, for example, you want buyers to be able to access dedicated content…
WP Simple Pay: Add Email Address to Payment Confirmation URL
Append the submitted email address to the payment confirmation page URL.
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…
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: {subtotal} Smart Tag
Adds a {subtotal} Smart Tag.
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
WP Simple Pay: Hide reCAPTCHA Badge
Hide the reCAPTCHA badge and add links to the privacy policy and terms of service. Adds…
Set a Custom Email Header
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
Export Categories and Tags
Export Categories and Tags
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
Copyright Year Shortcode
Add shortcode to automatically update the copyright year. [year]