Skip to content

Instantly share code, notes, and snippets.

@DevinWalker
Last active December 23, 2016 20:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevinWalker/324aa33e74d375470cbc to your computer and use it in GitHub Desktop.
Save DevinWalker/324aa33e74d375470cbc to your computer and use it in GitHub Desktop.
Customized the Give donation total label globally
/**
* Give Custom Donation Total Label
*
* @return string|void
*/
function my123_custom_donation_total_label(){
return __('My Custom Label', 'my_textdomain');
}
add_filter('give_donation_total_label', 'my123_custom_donation_total_label');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment