Home / Admin / Change Text For Minimum Donation Message
Duplicate Snippet

Embed Snippet on Your Site

Change Text For Minimum Donation Message

This allows you to change text for the display of the minimum donation on a donation form.

Code Preview
php
<?php
/*
 * 
 */
function change_min_donation_text( $text, $amount ) {
	return '<p class="minimum-donation-amount-text">' . __( 'The minimum donation for this campaign is ', 'charitable' ) . charitable_format_money( $amount, false, true ) . '.</p>';
}
add_filter( 'charitable_donationa_amount_notice', 'change_min_donation_text', 10, 2 );

Comments

Add a Comment