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',…

Sample Email Template Tag

This is an example of how to register a new email template tag for EDD. Intended…

Foodtruck

crée moi moi un plugin pour wordpress pour un foodtruck avec une commande pour fermer et…

Add a document file upload

// Add the document field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_doc_uploader'); function wcv_doc_uploader( ){ if…

Enable product images in vendor order email notifications

add_filter( 'wcvendors_vendor_order_items_args', 'wcv_enable_product_image_vendor_order_email' ); function wcv_enable_product_image_vendor_order_email( $order_item_args ){ $order_item_args['show_image'] = true; return $order_item_args; }

Untitled Snippet

HTML5

Marketing Manager
<10

Remove Subscriber from Segment

This snippet helps remove a push subscriber from a segment on the defined event.

Extra WordPress Filters in Pro (Do something with the age restriction display) | Display Eventbrite Events

Using this filter you can change the age restriction display. e.g. all_ages by default displays nothing,…

Blocks on templates

Setting a specific block on specific templates by default

Defining SMTP.com Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

MemberPress: Extend Grace Period for Renewals

Adding this code will extend the grace period for renewals (default is 0). Change the number…

floating bar css

html div#om-{{id}}.CampaignType--floating { position: absolute !important; top: 0 !important; display: block !important; background: #0B8BBB !important; }

1 57 58 59 60 61 76