Post class update
add_filter( 'body_class', function( $classes ) { $acc_type=tmwp_get_user_role(); if (!$acc_type) $acc_type='anonymous'; return array_merge( $classes, array('acc-type-'.strtolower($acc_type),tmwp_get_page_class()) ); }…
Hotfix: Free Downloads - Always load assets
In version 2.3.15 of Free Downloads, an attempt was made to only load the Javascript asset…
php code
php code
CWP - ConvertKit RSS email ID
Adds ConvertKit email ID to RSS feeds for better conversion tracking
Unlimited User Downloads for EDD Recurring
Allows certain users to be allowed to bypass the active account requirement in EDD Recurring Payments
remove 'X' remove button in cart
.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }
MemberPress: Change the Member’s User Role After a Specific Membership Subscription Cancelation
The code snippet automatically changes the member's user role once the subscription is canceled. This will…
Allow free shipping for EDD Simple Shipping
Enable free shipping for a specific download, or specific download/price ID combination. This will ensure that…
CPT_DIR - Users
Directory of portal users....
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…
Limit user files in media library
change the number in the snippet
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