Advertisement
Guenni007

snippet

Mar 22nd, 2022
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. // get rid of quotation marks in audioplayer
  2. add_filter('gettext_with_context', function($translated, $text, $context, $domain){
  3.     if($context = 'playlist item title' && $text == '“%s”') $translated = "%s";
  4.     return $translated;
  5. }, 10, 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement