MemberPress: Disable MemberPress Protection On Posts with Specific Tags

This code snippet disables content protection for posts that are tagged with a specific term (e.g.,…

MemberPress: Add Email Recipients to Specific Emails

This code snippet adds additional email recipients to the MemberPress email recipient list if the email…

MemberPress: Change Country VAT Rate for a Certain Membership

The code snippet will modify the VAT rate on registration for a specified membership only if…

MemberPress: TaxJar - Prevent Sending VAT Transactions to TaxJar

When the MemberPress TaxJar integration is active, by default, MemberPress will send all transactions to TaxJar,…

MemberPress: Remove MemberPress Weekly Stats Widget from WordPress Dashboard

This code snippet removes the MemberPress Weekly Stats widget from the WordPress admin dashboard. This can…

rearrange shipping options

Login to cpanel. Choose “File Manager” Navigate to public_html>wp-includes>functions.php and select “Edit” Paste in the contents…

Changes the default recipe author name in Tasty Recipes

Replace 'Your New Default Author Name' inside the quotes with your preferred Author Name and then…

<10

Change Currency Format By Locale

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

product data tabs

/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…

Carla Mawyin
<10

Add the "input hidden" field type to the EDD settings

Add 'input type="hidden"' to the type of input fields available when setting up your plugin's EDD…

Opening booking resources editor in new tab

This snippet will open the booking resources editor in a new tab instead of opening it…

Change Method Label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…

Make All Users Vendors

/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…

1 103 104 105 106 107 156