Created
April 21, 2015 18:47
-
-
Save jesseeproductions/5e4ded1c644580a7ee11 to your computer and use it in GitHub Desktop.
Change No results Found Message
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
/* | |
* Change No results Found Message | |
* @version 3.9 | |
* | |
*/ | |
add_filter('gettext', 'tec_filter_translations', 10, 3); | |
function tec_filter_translations($translations, $text, $domain) { | |
if ($domain == 'tribe-events-calendar') { | |
$text = str_ireplace( 'There were no results found.', 'There were no results found-see next month', $text ); | |
} | |
return $text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment