Allow Subscriptions Product on BOGO and Add Product Search Field

add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…

VDX Optimizer

// VDX Optimizer - SEO, Social Media & WooCommerce // SEO Meta Tags add_action('wp_head', function() {…

Vadim Bubulici
<10

Sample Email Template Tag

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

CSS de base

p, h1, h2, h3, h4, h5, h6 { margin-block-start: 0!important; margin-block-end: 0; } ul { margin:…

Custom fields to vendor settings page

add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>

Allow WooCommerce Shop Managers to manage vendors

/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…

login redirect changed from default my account page to home page

/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…

How to Disable Comments on Event Posts? | Quick Event Manager

This code snippet is designed to automatically disable comments for event post types generated via the…

Event URL (Simple Usage) | Display Eventbrite Events

This filter allows you to adjust the event URL. This is primarily so you can add…

Filter Music Promoter Age Restriction | Display Eventbrite Events

For Eventbrite music promoters only. Age restriction text is displayed unless it is set in Eventbrite…

Blocks on templates

Setting a specific block on specific templates by default

Hide the ‘Screen Options’ Tab on admin bar

Remove the Screen Options menu at the top of the admin bar.

Untitled Snippet

Helen Cleary
<10

Use Single Tenant With the Outlook Mailer

This snippet will set the Outlook API authorization and access token URLs to use your unique…

1 83 84 85 86 87 212