钩子文档

in_admin_header

💡 云策文档标注

概述

in_admin_header 是一个 WordPress 动作钩子,在管理页面内容区域的开头触发,用于在 和

标签之间插入自定义代码。

关键要点

  • 触发时机:在管理页面内容部分开始时执行
  • 位置:位于 和
    标签之间
  • 源函数:do_action( 'in_admin_header' )
  • 引入版本:WordPress 3.0.0

📄 原文内容

Fires at the beginning of the content section in an admin page.

More Information

It fires between <div id="wpcontent"> and <div id="wpbody"> tags.

Source

do_action( 'in_admin_header' );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.