云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
/
搜索:posts
get_inline_data()
添加隐藏字段,包含用于文章和页面内联编辑器的数据。
get_legacy_widget_block_editor_settings()
返回使用 Legacy Widget 块所需的块编辑器设置,该块默认未注册。
get_media_items()
获取文章图库中媒体项的 HTML。
get_meta_sql()
给定一个元查询,生成要附加到主查询的 SQL 子句。
get_most_recent_post_of_user()
获取用户的最新文章。
get_oembed_response_data()
检索给定文章的 oEmbed 响应数据。
get_options()
检索多个选项。
get_others_drafts()
检索其他用户的草稿。
get_others_pending()
检索其他用户的待审核文章。
get_page_by_title()
根据标题检索页面。
get_page_link()
检索当前页面或页面 ID 的固定链接。
get_pending_comments_num()
获取文章或文章的待审核评论数量。
get_post_format_slugs()
检索文章格式 slugs 的数组。
get_post_meta()
检索给定文章 ID 的文章元字段。
get_post_states()
从文章中检索文章状态数组。
get_post_thumbnail_id()
检索文章特色图像 ID。
文章分页
上一页
1
…
7
8
9
…
16
下一页