apply_filters( "install_plugins_table_api_args_{$tab}", array|false $args )

Filters API request arguments for each Add Plugins screen tab.

Description

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

Parameters

$args

(array|false) Plugin install API arguments.

Source

File: wp-admin/includes/class-wp-plugin-install-list-table.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/install_plugins_table_api_args_tab