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: Use Payment Form Description as Payment Description
Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
Add Campaign Status to Campaign Shortcode
This inserts the campaign status ('active', 'successful') to the [campaigns] shortcode. https://www.wpcharitable.com/documentation/the-campaigns-shortcode/
Hide unnecessary roles
Masque les roles qui ne doivent pas être utilisés dans les filtres utilisateurs
Show WooCommerce Cart and Checkout on the Same page Free No Plugin
This post outlines the code implementation for creating a streamlined checkout experience by merging the cart…
Prevent AIOSEO From Rewriting Term Title
This snippet can be used to prevent AIOSEO from rewriting term titles.
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );