edit_form_after_editor
云策文档标注
概述
edit_form_after_editor 是一个 WordPress 动作钩子,在内容编辑器之后触发,允许开发者在编辑表单中添加自定义内容或功能。
关键要点
- 这是一个动作钩子,用于在内容编辑器之后执行自定义代码。
- 参数为 $post,类型为 WP_Post 对象,代表当前编辑的帖子。
- 从 WordPress 3.5.0 版本开始引入。
代码示例
do_action( 'edit_form_after_editor', $post );
原文内容
Fires after the content editor.
Parameters
$postWP_Post-
Post object.
Source
do_action( 'edit_form_after_editor', $post );
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |