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

Disable Update Notifications

Disable all wordpress update notifications

Hagai Maidenberg
<10

Sample Email Template Tag

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

AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description

Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…

Add vat over the commission

This will add VAT value over the commission

Add Vendor Ratings / Feedback to Product Page

add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…

Resetting the Vendor & Pending Vendor Roles

add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

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']

1 86 87 88 89 90 217