Generate a virtual coupon when order is completed.

This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…

Membership Details Table Override

Hides certain information from the free plans while keeping table formatting

Restrict Dashboard Summary Widget

Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.

Non-required Card State

Makes the cart state a non-required field when present

AffiliateWP — Restrict Checkout Referrals Dropdown by User Role

Restricts the AffiliateWP Checkout Referrals dropdown to only appear for logged-in users with a specific WordPress…

Exclude Wholesale Customers from receiving the PDF Invoice

Integration with the PDF Invoices & Packing Slips for WooCommerce plugin by WP Overnight.

WWPP - Customize the admin "New Order" email subject for wholesalers

/** * Customize the Admin "New Order" email subject for wholesale customers only */ add_filter( 'woocommerce_email_subject_new_order',…

WWLC - Sync the Wholesale Lead Data to Klaviyo

Here's how to integrate your WooCommerce Wholesale Lead Capture registration form with Klaviyo so that new…

Use Full Store Address in Ships From

By default the Ships From metadata displayed under the add to cart button only shows the…

Add Custom Taxonomy to Woocommerce Single Product Page

add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…

ACFW – Invalidate coupons based on a product's custom meta field using Custom Cart Item Meta

If you want to manage the restriction visually inside the Advanced Coupons Cart Conditions panel, you…

Days of the Week Filter Fix (Events List Block)

Fixes the Events List block's "Days of the Week" filter so it re-queries the server instead…

Stop Lazy Load

add_filter( 'wp_lazy_loading_enabled', '__return_false' );

<10
1 195 196 197 198 199 228