install_plugins_table_api_args_{$tab}

过滤钩子


apply_filters( "install_plugins_table_api_args_{$tab}", $args )
参数
  • (array|false)
    $args
    Plugin install API arguments.
    Required:
定义位置
  • wp-admin/includes/class-wp-plugin-install-list-table.php
    , line 234
引入
3.7.0
弃用

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 );