CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
Change Amount Donated
Change what amount is shown as donated for a particular campaign.
Enable Comments
Adds comment support to the download post type
Disable Pages and Post from Appearing in Wordpress Search Results
Using WPCode, apply the following code snippet to effectively disable certain pages from appearing in the…
Yandex AD (Header Section)
Yandex AD (Header Section) snippet
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…
Make Product Non Purchasable for Wholesale Customer if Product Stock is Less Than Certain Amount
This snippet will allow you to make a product unavailable for purchase by wholesale customers if…
Download Details Featured Image
Add the featured image to output of Download Details widget
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: 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: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
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.…