wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



load_translation_file › WordPress Filter Hooks

Da6.6.0
Deprecaton/a
› apply_filters( 'load_translation_file', $file, $domain, $locale )
Parametri: (3)
  • () file Path to the translation file to load.
    Richiesto: Sì
  • () domain The text domain.
    Richiesto: Sì
  • () locale The locale.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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