Untitled Snippet
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function custom_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Show Terms By Default
Show the terms of agreement open on the checkout page by default
Meta Pixel - InitiateCheckout Event
Meta Pixel - InitiateCheckout Event
Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
gill-container-tracking.php
gill-container-tracking.php
TExt test
test text
Retroactive Lifetime Licenses
Mark all existing licenses for an EDD product as lifetime licenses.
Vendor Canonical Links
Makes the vendor canonical links go to yoursite/vendor/vendor-name instead of yoursite/vendor.
Single Line Form adjustments
In case of issues with the inline-fields class described on https://wpforms.com/docs/how-to-display-your-form-in-a-single-line/
AI Buzz — Auto Article Count
/** * AI BUZZ — AUTO ARTICLE COUNT UPDATER * * Automatically updates any element with…
Change Method Label
add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…
Make All Users Vendors
/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…