add_inline_data
do_action( ‘add_inline_data’, WP_Post $post , WP_Post_Type $post_type_object )
动作钩子::在输出posts和pages的内联编辑器的字段后激发。
Action Hook: Fires after outputting the fields for the inline editor for posts and pages.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$post | (WP_Post) | 当前post对象。 |
$post_type_object | (WP_Post_Type) | 当前文章的文章类型对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.8 | wp-admin/includes/template.php:385 | 1 | 0 |
add_inline_data 为WP2原创文章,链接:https://www.wp2.cn/hook/add_inline_data/