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'.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.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.