wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



load_script_translations › Les Filtres WordPress

Depuis5.0.2
Dépréciéen/a
apply_filters( 'load_script_translations', $translations, $file, $handle, $domain )
Paramètres: (4)
  • (string) $translations JSON-encoded translation data.
    Requis: Oui
  • (string) $file Path to the translation file that was loaded.
    Requis: Oui
  • (string) $handle Name of the script to register a translation domain to.
    Requis: Oui
  • (string) $domain The text domain.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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