add_inline_data

动作钩子


do_action( 'add_inline_data', $post, $post_type_object )
参数
  • (WP_Post)
    $post
    The current post object.
    Required:
  • (WP_Post_Type)
    $post_type_object
    The current post’s post type object.
    Required:
定义位置
  • wp-admin/includes/template.php
    , line 393
引入
4.9.8
弃用

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

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