wpseek.com
WordPress开发者和主题制作者的搜索引擎



load_translation_file › WordPress过滤钩子

Since6.6.0
已弃用n/a
› apply_filters( 'load_translation_file', $file, $domain, $locale )
参数: (3)
  • () file Path to the translation file to load.
    Required: Yes
  • () domain The text domain.
    Required: Yes
  • () locale The locale.
    Required: Yes
定义在:
文档:

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.




源码

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