Add Custom Donation Field With Dynamic Value
Add a new donation field to be displayed in Charitable emails related to donations.
Copy Donation Receipt To Admin
Send the donation receipt to the site admin as well.
Add Offline Instructions Field
Add a new field to your donation-related emails which shows the offline payment instructions for offline…
Change Section Headers
Change the section headers in the donation form.
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
Require Us Phone Number Format
This snippet shows how to alter the phone field so that it only accepts a number…
Change Section Headers Per Campaign
Change the section headers in the donation form.
Keep Username As Display Name
When people update their profile, keep their display name set to be the same as their…
Customize Amount Raised Text
In this example, we change how the "X donated of Y goal" text appears.
Add Post Parent Field
Register a Post Parent field for campaigns.
Blog filter
Add a filter for blogs
Explicit Fixed Width and Height
Explicit Fixed Width and Height for images
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Change user role for buyers
This is useful if, for example, you want buyers to be able to access dedicated content…
Move Jump to Recipe above featured image in Genesis
/** * Ensures the "Jump to Recipe" button is added above the featured image. */ add_action(…