apply_filters( ‘install_plugins_tabs’, string[] $tabs )

In this article

Filters the tabs shown on the Add Plugins screen.

Parameters

$tabsstring[]
The tabs shown on the Add Plugins screen. Defaults include 'featured', 'popular', 'recommended', 'favorites', and 'upload'.

Source

$tabs = apply_filters( 'install_plugins_tabs', $tabs );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

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