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
.
View all references
$tabs = apply_filters( 'install_plugins_tabs', $tabs );
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |