Add Dynamic Hidden Field
Dynamically set as a hidden field in the donation form, based on the ID of the…
How to Block Names From Completing Your Form - Simple format
/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…
Add Image Alt Text automatic
function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…
Translating the Total Field's Order Summary
This code targets specific elements inside the Order Summary and updates the labels to the translated…
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Change Custom Amount Field Label
Filter the custom amount field description.
WP Simple Pay: Add Custom CSS Classes to the Payment Button
"Payment Button" refers to the button that launches an On-site Overlay or Stripe Checkout Payment Form.
Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
Set New User Role
Set the role of users who register through the Charitable registration form shortcode.
Prevent AlOSEO from outputting any data on term pages
This snippet can be used to prevent AlOSEO from outputting any data on term pages
Add Creator Name
Display the campaign creator's name on the campaign page and in the campaign grid/list.
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…
Add Custom Field From Donation Form On The Receipt Page
This is an example of how to show a field data someone entered in their donation…
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
VIsual Campaign Builder: Add HTML Tags To Display In The HTML/CODE Block
By design, Charitable allows only certain HTML to be displayed in the HTML/CODE Block of the…