add_meta()

add_meta()函数是Wordpress函数,为具有给定ID的post添加在$u post superglobal中定义的post元数据。

add_meta( int $post_ID )

为具有给定ID的post添加在$u post superglobal中定义的post元数据。
Add post meta data defined in $_POST superglobal for post with given ID.

参数(Parameters)

参数类型必填说明
$post_ID(int)必需

返回(Return)

(int|bool)


源码(Source)

//暂无
更新版本源码位置使用被使用
1.2.0wp-admin/includes/post.php:89935

笔记(Notes)

例子

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索