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



load_translation_file › Les Filtres WordPress

Depuis6.6.0
Dépréciéen/a
› apply_filters( 'load_translation_file', $file, $domain, $locale )
Paramètres: (3)
  • () file Path to the translation file to load.
    Requis: Oui
  • () domain The text domain.
    Requis: Oui
  • () locale The locale.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the file path for loading translations for the given text domain.

Similar to the {@see 'load_textdomain_mofile'} filter with the difference that the file path could be for an MO or PHP file.




Source

$file = (string) apply_filters( 'load_translation_file', $file, $domain, $locale );