wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



load_translation_file › WordPress Filter Hooks

Seit6.6.0
Veraltetn/v
apply_filters( 'load_translation_file', $file, $domain, $locale )
Parameter: (3)
  • () file Path to the translation file to load.
    Erforderlich: Ja
  • () domain The text domain.
    Erforderlich: Ja
  • () locale The locale.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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