• Resolved umo2net2015

    (@umo2net2015)


    Please how do I change all the terms “donation” to “payment” in the plugin to suit my website needs.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    First off, thanks for using Give — even if it’s not intended to be used for “payments”. We purposely don’t have a setting to switch that language because Give is about donations first and foremost.

    Nevertheless, you could do that with a snippet like this. Please keep in mind that custom development like this is outside the scope of our support and what you do with this snippet is up to you. I provide it as an example, but it’s up to you to implement and customize it:

    function my_give_text_switcher( $translations, $text, $domain ) {
    	// changes the "Donations" text in multiple places
    	if ( $domain == 'give' && $text == 'Donations' ) {
    		$translations = __( 'Payments', 'give' );
    	}
    	
    	return $translations;
    }
    add_filter( 'gettext', 'my_give_text_switcher', 10, 3 );

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Changing terms “Donation” to “Payment”’ is closed to new replies.