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



translation_file_format › Filtr WordPress Hooks

Od6.5.0
Przestarzałyn/a
apply_filters( 'translation_file_format', 'php', $domain )
Parametry: (2)
  • (string) $preferred_format Preferred file format. Possible values: 'php', 'mo'. Default: 'php'.
    Wymagane: Tak
  • (string) $domain The text domain.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the preferred file format for translation files.

Can be used to disable the use of PHP files for translations.





Źródło

$preferred_format = apply_filters( 'translation_file_format', 'php', $domain );