云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
wp_get_sidebars_widgets()
检索侧边栏及其小部件实例ID的完整列表。
wp_get_single_post()
根据文章 ID 检索单篇文章。
wp_get_sitemap_providers()
获取站点地图提供者的数组。
wp_get_sites()
返回网络或多网络中的站点数组。
wp_get_speculation_rules_configuration()
返回推测规则配置。
wp_get_speculation_rules()
基于配置返回完整的推测规则数据。
wp_get_split_term()
获取与先前已分割的术语对应的新术语 ID。
wp_get_split_terms()
获取关于先前共享单个 term_id 但后来被拆分的术语的数据。
wp_get_term_taxonomy_parent_id()
返回术语的父术语 ID。
wp_get_theme_data_custom_templates()
返回主题通过 theme.json 定义的自定义模板的元数据。
wp_get_theme_data_template_parts()
返回主题定义的模板部分的元数据。
wp_get_theme_directory_pattern_slugs()
返回当前主题希望从 Pattern Directory 注册的模式(slug)。
wp_get_theme_error()
获取已暂停主题记录的错误。
wp_get_theme_file_editable_extensions()
获取指定主题的可编辑文件扩展名列表。
wp_get_theme_preview_path()
过滤博客选项以返回预览主题的路径。
wp_get_theme()
获取主题的 WP_Theme 对象。
文章分页
上一页
1
…
174
175
176
…
221
下一页