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…
MemberPress: Add Bio Info To Account Page
The code will add the field called Bio to the MemberPress Account Page using a classic…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
WP Simple Pay: Custom Webhook Handling Example
An example of handling the `coupon.updated` webhook event. For a full list of available events see:…
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: Changes Product Image on the Checkout Page
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
WP Simple Pay: Add Email Address to Payment Confirmation URL
Append the submitted email address to the payment confirmation page URL.
Add Empty Option To Countries List
Add an empty "Select your country"option at the start of the list of countries in the…
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,…
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…