Allow free shipping for EDD Simple Shipping
Enable free shipping for a specific download, or specific download/price ID combination. This will ensure that…
Exibe preços (Parcelado e com desconto a vista), na página do produto e no looping do produto.
Esse Snippet permite adicionar simulação de descontos e parcelamento aos preços exibidos no looping do produto…
REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART
add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Yandex AD (Header Section)
Yandex AD (Header Section) snippet
MemberPress: Customize Default WordPress Password Reset Request Email Body
This code snippet customizes the body of the password reset request email sent to users from…
Set Default Donation Amount
Set the default donation amount for all campaigns.
Custom Cart Expiration
Sets the cart expiration to a custom value with database sessions. https://easydigitaldownloads.com/docs/edd_use_php_sessions/
Add the_content to storefront template.
Changes the number of downloads displayed in the latest downloads section of the store front template.
Disable Random Content Redirects
Turns off the random content redirects added in WordPress 7.2.
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…
MemberPress: Enabling Payment Receipt Email for Free Recurring Subscriptions
By default, MemberPress doesn’t send the payment receipt email for free recurring membership registrations. This code…
php code
php code
Untitled Snippet
https://www.highrevenuegate.com/vtih3qtws?key=9fcf513fba43e6344e324bc00d8881b4