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



plugins_api_args ›

Since2.7.0
已弃用n/a
apply_filters( 'plugins_api_args', $args, $action )
参数: (2)
  • (object) $args Plugin API arguments.
    Required: Yes
  • (string) $action The type of information being requested from the Plugin Installation API.
    Required: Yes
定义在:
文档:

Filters the WordPress.org Plugin Installation API arguments.

Important: An object MUST be returned to this filter.





源码

$args = apply_filters( 'plugins_api_args', $args, $action );