云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
/
搜索:get_post
get_post_to_edit()
获取现有文章并格式化为编辑状态。
wp_get_post_cats()
检索文章分类列表。
wp_get_post_tags()
检索文章的标签。
get_post_datetime()
获取文章的发布时间或修改时间,返回一个 DateTimeImmutable 对象实例。
wp_get_post_terms()
检索文章的术语。
get_post_ancestors()
检索文章的祖先ID。
get_post_embed_url()
获取在 iframe 中嵌入特定文章的 URL。
get_post_galleries()
从传递的文章内容中检索图库。
get_post_mime_type()
根据 ID 检索附件的 MIME 类型。
get_post_permalink()
检索自定义文章类型的固定链接。
get_post_timestamp()
获取文章发布或修改时间的 Unix 时间戳。
get_posts_nav_link()
检索上一页和下一页的文章分页链接导航。
_get_post_ancestors()
检索文章祖先。
get_post_embed_html()
检索特定文章的嵌入代码。
get_post_meta_by_id()
通过 meta ID 返回文章元数据。
get_post_mime_types()
获取默认的文章 MIME 类型。
文章分页
上一页
1
2
3
…
22
下一页