MemberPress: Adjusting Paywall Cookie Expiry Time
This code snippet modifies the default expiration period (30 days) for the MemberPress paywall cookie. The…
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: Customize Default WordPress Password Reset Request Email Body
This code snippet customizes the body of the password reset request email sent to users from…
MemebrPress: Send MemberPress Welcome Email Only When Transaction Is Completed
The code snippet will allow the global welcome email to be triggered only following the successful…
Set Default Donation Amount
Set the default donation amount for all campaigns.
Keep users logged in for 1 month on Staq
function stq_change_auth_cookie_expiration_period( $expiration_period ) { $expiration_period = MONTH_IN_SECONDS; // 1 month return $expiration_period; } add_filter( 'auth_cookie_expiration',…
WPForms: display a form under the confirmation message with or without user entered field values.
add_action( 'wpforms_frontend_output_success', static function ( $form_data, $fields, $entry_id ) { unset( $_GET['wpforms_return'], $_POST['wpforms']['id'] ); // If…
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
Shop Manager - Reseller Admin.js
Creates a reseller admin role that has more customisation options than a normal user
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…