edit_form_after_title
do_action( ‘edit_form_after_title’, WP_Post $post )
动作钩子::在标题字段后触发。
Action Hook: Fires after the title field.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$post | (WP_Post) | Post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.5.0 | wp-admin/edit-form-advanced.php:570 | 1 | 0 |
笔记(Notes)
请记住,这个钩子只在经典编辑器上工作,新的Gutenberg编辑器不支持它(这是版本5以来的默认编辑器)
edit_form_after_title 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_form_after_title/