云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
/
搜索:获取文章
get_object_taxonomies()
返回注册到请求对象或对象类型(如文章对象或文章类型名称)的分类法名称或对象。
get_permalink()
获取当前文章或文章 ID 的完整固定链接。
get_post_ancestors()
检索文章的祖先ID。
get_post_custom()
基于文章 ID 检索文章元字段。
get_post_embed_url()
获取在 iframe 中嵌入特定文章的 URL。
get_post_field()
根据 Post ID 检索文章字段的数据。
get_post_galleries()
从传递的文章内容中检索图库。
get_post_mime_type()
根据 ID 检索附件的 MIME 类型。
get_post_parent()
检索给定文章的父文章对象。
get_post_states()
从文章中检索文章状态数组。
get_post_thumbnail_id()
检索文章特色图像 ID。
get_post_type_archive_feed_link()
检索文章类型归档页面的 Feed 固定链接。
get_post_type_labels()
从文章类型对象构建包含所有文章类型标签的对象。
get_post_type_object()
通过名称检索文章类型对象。
get_post_type()
检索当前文章或指定文章的文章类型。
get_posts()
检索最新文章的数组,或符合指定条件的文章。
文章分页
上一页
1
2
3
4
…
7
下一页