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…
Verify Email Domain
During the banned email checks, see if the domain being checked has DNS configured, if not…
WP Simple Pay: {subtotal} Smart Tag
Adds a {subtotal} Smart Tag.
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…
Export Categories and Tags
Export Categories and Tags
Modify the LLMS Description for a Specific Post
This snippet modifies the description shown in llms.txt for a specific post.
Show 'NEW' Badges for Recently Added Items in WooCommerce
This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Set a Custom Reply-To Email
This snippet will ensure all emails sent from your site have the same reply-to email address.…
WP Simple Pay: Use Custom Field Value as Stripe Payment Description
Use the value of a custom field as the description for the Stripe payment record.
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
Allow JS Files Upload
Allowing to upload JS files into media folder for custom special integration such as booking search…