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';…
Sample Email Template Tag
This is an example of how to register a new email template tag for EDD.
Provider Referral
Refer a Patient | Skills Therapy Clinic Referral Partners Welcome Your Patients DeserveSpecialized Therapy.We Are Here…
PayPal Commerce - Horizontal layout for payment buttons
Switch to horizontal view and display only the PayPal, Apple Pay, and Google Pay buttons. Based…
Untitled Snippet
{ "data": [ { "action_source": "system_generated", "custom_data": { "event_source": "crm", "lead_event_source": "Your CRM" }, "event_name": "Lead",…
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() {…
Advanced Spam Filters for Elementor Forms
Filter spam emails by either email provider @gamil.com, @hotmail.com, or whatever you want. You can also…
Tasty Pins - Remove the Pin button for an image by URL
Easily exclude images from having this pin it button using the image url by javascript snippet:
Allow Eventbrite Styles in Long Description | Display Eventbrite Events
Since version 5.3.4 the Display Eventbrite Plugin has been removing the inline styles Eventbrite add to…