wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



load_script_translations › WordPress Filter Hooks

Da5.0.2
Deprecaton/a
apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
Parametri: (4)
  • (string) $translations JSON-encoded translation data.
    Richiesto:
  • (string) $file Path to the translation file that was loaded.
    Richiesto:
  • (string) $handle Name of the script to register a translation domain to.
    Richiesto:
  • (string) $domain The text domain.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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