Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function filter_translations($translation, $text, $woocommerce) {
- if ($woocommerce == 'tribe-events-calendar') {
- switch ($text) {
- case 'paypal':
- $translation = 'Proceed to check outt';
- break;
- }
- }
- return $translation;
- }
- add_filter('gettext', 'filter_translations', 10, 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement