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.
Parameters
- $tabs
(string[])An associative array of tab labels keyed by their slug.
Source
File: wp-admin/site-health.php
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |