site_health_tab_content

动作钩子


do_action( 'site_health_tab_content', $_GET['tab'] )
参数
  • (string)
    $tab
    The slug of the tab that was requested.
    Required:
定义位置
  • wp-admin/site-health.php
    , line 205
引入
5.8.0
弃用

Output content of a custom Site Health tab.

This action fires right after the Site Health header, and users are still subject to
the capability checks for the Site Health page to view any custom tabs and their contents.

do_action( 'site_health_tab_content', $_GET['tab'] );