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



override_load_textdomain ›

Since2.9.0
已弃用n/a
apply_filters( 'override_load_textdomain', false, $domain, $mofile )
参数: (3)
  • (bool) $override Whether to override the .mo file loading. Default false.
    Required: Yes
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Required: Yes
  • (string) $mofile Path to the MO file.
    Required: Yes
定义在:
文档:

Filters whether to override the .mo file loading.





源码

$plugin_override = apply_filters( 'override_load_textdomain', false, $domain, $mofile );