install_plugins_tabs WordPress Filter Hook
The install_plugins_tabs hook is used to add new tabs to the Add New Plugins screen in the WordPress admin. This hook can be used to add new plugin sources, such as a custom plugin repository or a private plugin collection.
apply_filters( 'install_plugins_tabs', string[] $tabs ) #
Filters the tabs shown on the Add Plugins screen.
Parameters
- $tabs
(string[])The tabs shown on the Add Plugins screen. Defaults include 'featured', 'popular', 'recommended', 'favorites', and 'upload'.
Source
File: wp-admin/includes/class-wp-plugin-install-list-table.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |