site_health_navigation_tabs WordPress Filter Hook

The site_health_navigation_tabs hook allows you to add new tabs to the Site Health page. This can be used to add new tabs with information about your plugin or theme, or to add new tools to the Site Health page.

apply_filters( 'site_health_navigation_tabs', string[] $tabs ) #

An associative array of extra tabs for the Site Health navigation bar.


Description

Add a custom page to the Site Health screen, based on a tab slug and label. The label you provide will also be used as part of the site title.


Top ↑

Parameters

$tabs

(string[])An associative array of tab labels keyed by their slug.


Top ↑

Source

File: wp-admin/site-health.php

View on Trac


Top ↑

Changelog

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