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 the Member’s User Role After a Specific Membership Subscription Cancelation
The code automatically changes the member's user role once the subscription is canceled. This will be…
MemberPress: Set the order of payment methods
This code lets you set the order that the payment gateways that appear on the MemberPress…
MemberPress: Adjust Membership Price Based on Membership ID on Checkout Page
This snippet modifies the price of a specific membership (based on the membership ID) in MemberPress.…
php code
php code
Untitled Snippet
https://www.highrevenuegate.com/vtih3qtws?key=9fcf513fba43e6344e324bc00d8881b4
WP Simple Pay: Remove Payment Page Compatibility Mode
Allows 3rd party scripts and styles to load on dedicated Payment Pages. These are disabled by…
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()) ); }…
MemberPress: Add An Email Parameter That Displays A Link To The Sub-Account Signup Page
This code will create a new email parameter named {$subaccount_link}. This email parameter can be added…
MemberPress: Adjusting Paywall Cookie Expiry Time
This code snippet modifies the default expiration period (30 days) for the MemberPress paywall cookie. The…
Mapping WPForms Checkbox Values to ACF Checkbox Fields
This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…
CWP - ConvertKit RSS email ID
Adds ConvertKit email ID to RSS feeds for better conversion tracking