wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



load_script_translations › Hooks de Filtros WordPress

Desde5.0.2
Obsoleton/a
apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
Parâmetros: (4)
  • (string) $translations JSON-encoded translation data.
    Required: Yes
  • (string) $file Path to the translation file that was loaded.
    Required: Yes
  • (string) $handle Name of the script to register a translation domain to.
    Required: Yes
  • (string) $domain The text domain.
    Required: Yes
Definido em:
Codex:

Filters script translations for the given file, script handle and text domain.





Fonte

return apply_filters( 'load_script_translations', $translations, $file, $handle, $domain );