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



load_script_translations ›

Seit5.0.2
Veraltetn/v
apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
Parameter: (4)
  • (string) $translations JSON-encoded translation data.
    Erforderlich: Ja
  • (string) $file Path to the translation file that was loaded.
    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 script translations for the given file, script handle and text domain.





Quellcode

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