wpseek.com
A WordPress-centric search engine for devs and theme authors



load_script_translations › WordPress Filter Hooks

Since5.0.2
Deprecatedn/a
apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
Parameters: (4)
  • () translations JSON-encoded translation data.
    Required: Yes
  • () file Path to the translation file that was loaded.
    Required: Yes
  • () handle Name of the script to register a translation domain to.
    Required: Yes
  • () domain The text domain.
    Required: Yes
Defined at:
Codex:

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





Source

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