Redirect from Array
Setup redirect for multiple pages.
Fixing WPForms Bulk Update Issues with WP Umbrella
This code snippet will force the WPForms updater to run during the WP Umbrella snapshot request.
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
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');
Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
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…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
Add terms to downloads shortcode
Adds label and comma-separated terms list to [downloads] shortcode based on taxonomy
Enable Downloads in the WP REST API
Enable the download products to show in the WP REST API
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
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.