输出帖子和页面的内联编辑器的字段后触发。
原型
do_action( 'add_inline_data', WP_Post $post, WP_Post_Type $post_type_object )
参数
$post
(WP_Post)
当前的帖子对象。
$post_type_object
(WP_Post_Type)
当前帖子的帖子类型对象。
源文件
路径:wp-admin/includes/template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/add_inline_data/