WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
WWPP - Exclude products from Cart Subtotal Price Discounts if they have an individual price or belong to a specific category
/** * Recalculate the cart subtotal discount to exclude products that: * - belong to a…
Prevent Publishing Posts with Broken Internal Links
Checks all internal links within post content before publishing. If a linked page or post returns…
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…
Untitled Snippet
alert('Xss');
Require Downloadable fields - Downloadable product template
Require Downloadable fields - Downloadable product template
Allow CSS Files Upload
Allowing to upload CSS file into media folder for custom special integration such as booking search…
HTG
[wpgetapi_endpoint api_id='HomeToGo' endpoint_id='HTG' debug='false']
Defining Amazon SES Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
floating bar css
html div#om-{{id}}.CampaignType--floating { position: absolute !important; top: 0 !important; display: block !important; background: #0B8BBB !important; }
om-monsterlink-mobile-variant.html
Subscribe Now!