CPT_DIR - Users

Directory of portal users....

ismail daugherty PRO
<10

How to Set a Default Country on the Vendor Registration Form

Make sure to select the correct vendor registration page under WC Vendors > Settings > Registration…

Display Only Selected Countries on the Vendor Registration Form

Streamline your registration form by showing only selected countries or remove others from the registration form…

Change Currency Format By Locale

This snippet below shows how to change the currency format for each language.

Untitled Snippet

function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function custom_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…

Meta Pixel - InitiateCheckout Event

Meta Pixel - InitiateCheckout Event

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.

Untitled Snippet

add_filter( 'woocommerce_product_single_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); add_filter( 'woocommerce_product_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); function saphie_custom_add_to_cart_text() { return 'ADD TO BAG'; }

Joana Hranova
<10

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() { ?>

1 115 116 117 118 119 224