1. 首页
  2. WordPress 函数手册

has_meta()

has_meta( int $postid )

获取给定post ID的元数据。
Get meta data for the given post ID.

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


参数(Parameters)

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

返回(Return)

(mixed)


源码(Source)


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

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