1. 首页
  2. WordPress 函数手册

get_inline_data()

get_inline_data( WP_Post $post )

添加隐藏字段和数据,以便在文章和页面的内联编辑器中使用。
Adds hidden fields with the data for use in the inline editor for posts and pages.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$post (WP_Post) 必需 Post对象。

返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
2.7.0 wp-admin/includes/template.php:306 1 function 19

get_inline_data() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_inline_data/