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

Top ↑

Parameters

$args

(array|false)Plugin install API arguments.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.