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



site_health_tab_content › WordPress动作钩子

Since5.8.0
已弃用n/a
do_action( 'site_health_tab_content', $_GET['tab'] )
参数:
  • (string) $tab The slug of the tab that was requested.
    Required: Yes
定义在:
文档:

Fires when outputting the 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'] );