get_home_path()
get_home_path()
获取WordPress安装根目录的绝对文件系统路径
Get the absolute filesystem path to the root of the WordPress installation
返回(Return)
(string)WordPress安装根目录的完整文件系统路径
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-admin/includes/file.php:105 | 4 | 3 |
笔记(Notes)
默认用法
get_home_path() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_home_path/