WordPress开发者和主题制作者的搜索引擎



add_inline_data ›

Since4.9.8
已弃用n/a
do_action( 'add_inline_data', $post, $post_type_object )
参数: (2)
  • (WP_Post) $post The current post object.
    Required: Yes
  • (WP_Post_Type) $post_type_object The current post's post type object.
    Required: Yes
定义在:
文档:

Fires after outputting the fields for the inline editor for posts and pages.





源码

do_action( 'add_inline_data', $post, $post_type_object );