Change Taxes to GST

<?php // don't add this line, since your functions.php file already starts with it.
function si_change_taxes_string( $translations, $text, $domain ) {
if ( 'sprout-invoices' === $domain ) {
// Change "taxes and Taxes"
if ( 'taxes' === strtolower( $text ) ) {
return 'GST';
}
// add more conditions, changing as many strings as you'd like
}
return $translations;
}
add_filter( 'gettext', 'si_change_taxes_string', 10, 3 );
view raw functions.php hosted with ❤ by GitHub
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.