Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



load_script_translation_file ›

Seit5.0.2
Veraltetn/v
apply_filters( 'load_script_translation_file', $file, $handle, $domain )
Parameter: (3)
  • (string|false) $file Path to the translation file to load. False if there isn't one.
    Erforderlich: Ja
  • (string) $handle Name of the script to register a translation domain to.
    Erforderlich: Ja
  • (string) $domain The text domain.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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