post_exists()

根据标题、内容、日期和类型确定文章是否存在。

post_exists( string $title , string $content = ”, string $date = ”, string $type = ” )

参数(Parameters)

参数类型必填说明
$title(string)必需职位名称。
$content(string)可选发布内容。
$date(string)可选发布日期。
$type(string)可选岗位类型。

返回(Return)

(int)Post ID如果Post存在,则为0。

更新版本源码位置使用被使用
5.2.0wp-admin/includes/post.php:75504
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索