Home / Admin / Change “Your Donation” On Donation Form
Duplicate Snippet

Embed Snippet on Your Site

Change “Your Donation” On Donation Form

On donation forms, the headline "Your Donations" can be changed to any text you want with this snippet.

Code Preview
php
<?php
$fields = add_filter( 'charitable_donation_form_fields', 'example_charitable_donation_form_fields', 10, 2 );
function example_charitable_donation_form_fields( $fields, $form ) {
	$fields['donation_fields']['legend'] = 'Changing This Title';
	return $fields;
}

Comments

Add a Comment