apply_filters( "install_plugins_table_api_args_{$tab}", array|false $args )
- Since
- 3.7.0
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_favoritesinstall_plugins_table_api_args_featuredinstall_plugins_table_api_args_popularinstall_plugins_table_api_args_recommendedinstall_plugins_table_api_args_uploadinstall_plugins_table_api_args_searchinstall_plugins_table_api_args_beta
Compatibility
- WordPress
- since 3.7.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$argsarray|false- Plugin install API arguments.
Where this hook fires · 1
wp-admin/includes/class-wp-plugin-install-list-table.php:235WP_Plugin_Install_List_Table::prepare_items()
Source code
* - `install_plugins_table_api_args_beta` * * @since 3.7.0 * * @param array|false $args Plugin install API arguments. */ $args = apply_filters( "install_plugins_table_api_args_{$tab}", $args ); if ( ! $args ) { return; } $api = plugins_api( 'query_plugins', $args );Changelog
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.