Add Picture Field To Donation Form
A picture field is added to the donation form, allowing donors to upload an image as…
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…
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: Auto Expand Coupon Field
By default, the coupon field is hidden on the MemberPress registration forms. Instead, users will see…
MemberPress: Rearranging Navigation Items On The Account Page
This snippet reorders the Downloads and Subscriptions tabs before Payments tab on the Account page.