Filter hook 'site_health_navigation_tabs'
in WP Core File wp-admin/site-health.php at line 31
Description
Filters the extra tabs for the Site Health navigation bar. 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.
Occurrences
Filename |
Line Number |
wp-admin/site-health.php |
31 |
Parameters
Type |
Name |
Description |
string[] |
$tabs |
An associative array of tab labels keyed by their slug. |
PHP Doc
/**
* Filters the extra tabs for the Site Health navigation bar.
*
* 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.
*
* @since 5.8.0
*
* @param string[] $tabs An associative array of tab labels keyed by their slug.
*/