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)
  • () translations JSON-encoded translation data.
    Requis: Oui
  • () file Path to the translation file that was loaded.
    Requis: Oui
  • () handle Name of the script to register a translation domain to.
    Requis: Oui
  • () 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 );