Change Donation Receipt (Confirmation) Text
-
I am attempting to change Donation and Donor to Payment on the Payment Confirmation page and also in the receipt. Basically anywhere it says donation, I would like it changed to payment: https://prntscr.com/h4vgti
I have implemented the following code, but it does not work:
function nguyen_confirm_give_text_switcher( $translations, $text, $domain ) {
if ( $domain == ‘give’ && $text == ‘DONATION RECEIPT’ ) {
$translations = __( ‘PAYMENT RECEIPT’, ‘give’ );
}return $translations;
}
add_filter( ‘gettext’, ‘nguyen_confirm_give_text_switcher’, 10, 3 );The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change Donation Receipt (Confirmation) Text’ is closed to new replies.