Last active
December 23, 2016 20:36
-
-
Save DevinWalker/324aa33e74d375470cbc to your computer and use it in GitHub Desktop.
Customized the Give donation total label globally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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