Defining General Settings Constants
Every constant in this section can be used for any mailer because they’re not specific to…
MemberPress: Expire Subscription Immediately After Subscription Is Canceled
By default, canceling subscriptions prevents future charges, but it does not end existing subscriptions, which allow…
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
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
Defining SparkPost Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
WP Simple Pay: Google GA4 Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
MemberPress: Change Email Subject in Bulk
The code snippet replaces email subject on all emails containing a specified phrase in the current…
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.
Change Combined Date Format | Display Eventbrite Events
The combined date display layout is used is most layouts, e.g. card, widget, default and can…
Combined Date – Time Format (Sample: 16th January) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Cores especificas para cada status do posts/pages
/*----------------------------------------------- Distinto color segun estado de entrada -----------------------------------------------*/ function posts_status_color() { ?>