wpseek.com
WordPress开发者和主题制作者的搜索引擎



site_health_navigation_tabs › WordPress过滤钩子

Since5.8.0
已弃用n/a
apply_filters( 'site_health_navigation_tabs', $tabs )
参数:
  • (string[]) $tabs An associative array of tab labels keyed by their slug.
    Required: Yes
定义在:
文档:

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.





源码

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