MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…
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.
Yandex AD (Header Section)
Yandex AD (Header Section) snippet
MemberPress: Change Email Subject in Bulk
The code snippet replaces email subject on all emails containing a specified phrase in the current…
Set Default Donation Amount
Set the default donation amount for all campaigns.
Register New Users as Customers
Register New Users as Customers
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…
Remove the coupon section for orders that did not use any coupon.
add_action( 'woocommerce_email_before_order_table', 'conditionally_remove_coupon_section_from_email', 5, 4 ); function conditionally_remove_coupon_section_from_email( $order, $sent_to_admin, $plain_text, $email ) { if (…
Restrict Dashboard Summary Widget
Prevent specific users (by user ID) from seeing the Easy Digital Downloads Sales Summary widget.
Non-required Card State
Makes the cart state a non-required field when present
Untitled Snippet
PIPAS — Biennale de Photographie Genève PIPAS À propos Pratique 24 22 PIPAS Biennale de Photographie…
Disallow Store Credit When There Is an Active Coupon in the Cart
- When you apply coupon first, once the cart refreshes, the Store Credit field will be…
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.