云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
函数文档
首页
/
函数文档
get_singular_template()
获取当前或父模板中单数模板的路径。
get_site_allowed_themes()
已弃用的功能,用于获取网络启用的主题。
get_site_by_path()
通过域名和路径检索最匹配的站点对象。
get_site_icon_url()
返回站点图标 URL。
get_site_meta()
检索站点的元数据。
get_site_option()
基于选项名称检索当前网络的选项值。
get_site_screen_help_sidebar_content()
返回编辑站点屏幕上帮助侧边栏的内容。
get_site_screen_help_tab_args()
返回编辑站点屏幕中帮助标签的参数。
get_site_transient()
检索站点瞬态的值。
get_site_url()
检索 WordPress 应用文件(例如 wp-blog-header.php 或 wp-admin/ 文件夹)可访问的给定站点的 URL。
get_site()
根据站点 ID 或站点对象检索站点数据。
get_sitemap_url()
检索站点地图的完整 URL。
get_sites()
检索匹配请求参数的站点列表。
get_sitestats()
获取网络的站点和用户数量。
get_space_allowed()
返回当前博客的上传配额。
get_space_used()
返回当前站点已使用的空间。
文章分页
上一页
1
…
70
71
72
…
221
下一页