Advertisement
Guenni007

snippet

Jul 23rd, 2020
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. add_filter('gettext_with_context', function($translated, $text, $context, $domain){
  2. if($context = 'playlist item title' && $text == '“%s”') $translated = "%s";
  3. return $translated;
  4. }, 10, 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement