Advertisement
Guenni007

snippet

Mar 22nd, 2022
805
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement