wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



load_translation_file › Filtr WordPress Hooks

Od6.6.0
Przestarzałyn/a
› apply_filters( 'load_translation_file', $file, $domain, $locale )
Parametry: (3)
  • () file Path to the translation file to load.
    Wymagane: Tak
  • () domain The text domain.
    Wymagane: Tak
  • () locale The locale.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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