install_plugins_table_api_args_(tab) filter-hook . WP 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. Default tabs include 'featured', 'popular', 'recommended', 'favorites', and 'upload'.
Usage
add_filter( 'install_plugins_table_api_args_(tab)', 'filter_function_name_1970' ); function filter_function_name_1970( $args ){ // filter... return $args; }
- $args(array/false)
- Plugin install API arguments.
Changelog
Since 3.7.0 | Introduced. |
Where the hook is called
wp-admin/includes/class-wp-plugin-install-list-table.php 222
$args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );