云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
/
搜索:获取文章
get_default_comment_status()
获取文章类型的默认评论状态。
get_pending_comments_num()
获取文章或文章的待审核评论数量。
_get_list_table()
获取 WP_List_Table 类的实例。
_resolve_template_for_new_post()
设置当前 WP_Query 以返回自动草稿文章。
_update_term_count_on_transition_post_status()
在文章状态更改时更新自定义分类法的术语计数。
add_ping()
向已 ping 的 URL 列表中添加一个 URL。
apply_block_hooks_to_content_from_post_object()
在文章对象的内容上运行 Block Hooks 算法。
check_and_publish_future_post()
发布未来文章并确保文章 ID 具有未来文章状态。
comments_open()
判断当前文章是否允许评论。
get_attached_media()
检索附加到传递的文章的媒体。
get_avatar()
检索用户、电子邮件地址、MD5 哈希、评论或文章的头像 标签。
get_blog_post()
从网络中的任意站点获取博客文章。
get_boundary_post_rel_link()
获取边界文章关系链接。
get_comments_number()
检索文章的评论数量。
get_comments()
检索评论列表。
get_enclosed()
检索文章已包含的附件。
文章分页
上一页
1
2
3
…
7
下一页