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



translations_api ›

Since4.0.0
已弃用n/a
apply_filters( 'translations_api', false, $type, $args )
参数: (3)
  • (bool|array) $result The result object. 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 );