Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
WP Simple Pay: Add Customer Phone to Customer Metadata
Adds the "Telephone" customer field value to the Customer record's metadata. This value is normally only…
Google Search Console
Google Search console snippet
Google Webmaster SEO Issue | Fix Duplicate without user-selected canonical
This snippet hooks into Rank Math’s rank_math/frontend/robots filter to modify how WordPress handles robots meta tags…
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.
Increase Memory Limit During Download Delivery
Increase the memory limit of your server to support the delivery of large downloads.
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Woocommerce: How to add minimum amount for different categories with different amount per category with different notice.
WooCommerce: Display Minimum Order Amount Notices by Category This code snippet adds functionality to your WooCommerce…
Google Tag Manager - Head
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');
Set a minimum, and maximum price for products
Set a minimum, and maximum price for products
Change Admin Panel Footer Text
Display custom text in the admin panel footer with this snippet.
Contato
Entre em contato conosco, sugira, elogie, corrija, reclame
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
Disable AIOSEO AI Components - Everything (Block + All Extensions)
This snippet will completely disable the block, // shortcut, AI Content tab card, inserter button, and…
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.