Disable Wordpress image compression
// Disable image compression add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); function smashing_jpeg_quality() { return 100; } // Disable…
Unhook Default Charitable Template Functions
In this example, we're going to remove the donor count from the campaign page, but you…
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Defining Google Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
WP Simple Pay: Add Email Address to Payment Confirmation URL
Append the submitted email address to the payment confirmation page URL.
Load Template Files In Admin
Load Charitable template files in the admin area.
Remove Campaign Description
Remove the campaign descriptions from the campaign loop (campaign shortcodes).
MemberPress: Add Shortcode To Output the User’s Subscription Expiration Date
Adds the following shortcode: [mepr-sub-expiration membership=' ']. The shortcode will output the expiration date of the…
MemberPress: Auto Expand Coupon Field
By default, the coupon field is hidden on the MemberPress registration forms. Instead, users will see…
Add Empty Option To Countries List
Add an empty "Select your country"option at the start of the list of countries in the…
See the Scheduled Actions option in the WordPress admin sidebar
This snippet gives you the ability to add the Scheduled Actions menu item to the WordPress…
Remove "Login with GoDaddy" from GoDaddy Managed WordPress
When using a managed WordPress account with GoDaddy, they make the Login for WordPress show a…
Add Wallet Deposit Levels
Deposit levels are pre-defined in EDD Wallet. This plugin allows you to add custom deposit levels,…
WP Simple Pay: Create WordPress User After Payment (Lite)
Creates a new WordPress user when one-time payment is made with WP Simple Pay Lite.
Send Notifications On User Registration
/** * Notify admin and user when a user registers with Charitable. * * @param array[]…