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



translations_api › WordPress过滤钩子

Since4.0.0
已弃用n/a
apply_filters( 'translations_api', false, $type, $args )
参数: (3)
  • (false|array) $result The result array. Default false.
    Required: Yes
  • (string) $type The type of translations being requested.
    Required: Yes
  • (object) $args Translation API arguments.
    Required: Yes
定义在:
文档:

Allows a plugin to override the WordPress.org Translation Installation API entirely.





源码

$res = apply_filters( 'translations_api', false, $type, $args );