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



load_translation_file › Les Filtres WordPress

Depuis6.5.0
Dépréciéen/a
apply_filters( 'load_translation_file', $file, $domain )
Paramètres: (2)
  • (string) $file Path to the translation file to load.
    Requis: Oui
  • (string) $domain The text domain.
    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 );