云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
/
搜索:get_post
get_page_template_slug()
获取给定文章的特定模板文件名。
get_page_uri()
构建页面的 URI 路径。
get_page()
根据页面 ID 或页面对象检索页面数据。
get_parent_post_rel_link()
获取父文章关联链接。
get_preview_post_link()
检索用于文章预览的 URL。
get_privacy_policy_url()
检索隐私政策页面的 URL。
get_private_posts_cap_sql()
基于能力检索私有文章的 SQL。
get_pung()
检索文章中已 ping 的 URL。
get_queried_object()
检索当前查询对象。
get_template_hierarchy()
获取要创建的给定模板 slug 的模板层级结构。
get_the_attachment_link()
检索带有链接的附件图像的 HTML 内容。
get_the_author_posts()
获取当前文章作者的文章数量。
get_the_content()
检索文章内容。
get_the_date()
获取文章的日期。
get_the_guid()
检索文章的全局唯一标识符(guid)。
get_the_ID()
检索 WordPress Loop 中当前项目的 ID。
文章分页
上一页
1
…
10
11
12
…
22
下一页