path_join()
path_join( string $base, string $path ) 将两个文件系统路径连接在一起。…
path_join( string $base, string $path )
将两个文件系统路径连接在一起。
Join two filesystem paths together.
目录锚点:#说明#参数#返回#源码
说明(Description)
例如,“给我相对于$base的$path”。如果$path是绝对路径,则返回完整路径。
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| $base | (string) | 必需 | 基本路径。 |
| $path | (string) | 必需 | 相对于$base的路径。 |
返回(Return)
(string)具有基路径或绝对路径的路径。
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.5.0 | wp-includes/functions.php:2057 | 9 | 1 function |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!