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



install_plugins_table_api_args_{$tab} › WordPress过滤钩子

Since3.7.0
已弃用n/a
apply_filters( "install_plugins_table_api_args_{$tab}", $args )
参数:
  • (array|false) $args Plugin install API arguments.
    Required: Yes
定义在:
文档:

Filters API request arguments for each Add Plugins screen tab.

The dynamic portion of the hook name, $tab, refers to the plugin install tabs.

Possible hook names include:

  • install_plugins_table_api_args_favorites
  • install_plugins_table_api_args_featured
  • install_plugins_table_api_args_popular
  • install_plugins_table_api_args_recommended
  • install_plugins_table_api_args_upload
  • install_plugins_table_api_args_search
  • install_plugins_table_api_args_beta




源码

$args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );