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 all references

$args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );


Top ↑

Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.