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



load_script_translation_file › WordPress Filter Hooks

Since5.0.2
Deprecatedn/a
apply_filters( 'load_script_translation_file', $file, $handle, $domain )
Parameters: (3)
  • () file Path to the translation file to load. False if there isn't one.
    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 the file path for loading script translations for the given script handle and text domain.





Source

$file = apply_filters( 'load_script_translation_file', $file, $handle, $domain );