install_plugins_table_api_args_{$tab} WordPress Filter Hook
The install_plugins_table_api_args_{$tab} hook allows you to modify the arguments used in the WP_List_Table class when displaying the list of plugins on the {$tab} tab of the Plugins screen ( admin_page ). This hook is useful for adding custom columns or changing the default behavior of the list table.
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
install_plugins_table_api_args_search
install_plugins_table_api_args_beta
Parameters
- $args
(array|false)Plugin install API arguments.
Source
File: wp-admin/includes/class-wp-plugin-install-list-table.php
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |