path_join( string $base, string $path )
Joins two filesystem paths together.
Description
For example, ‘give me $path relative to $base’. If the $path is absolute, then it the full path is returned.
Parameters
- $base
-
(Required) Base path.
- $path
-
(Required) Path relative to $base.
Return
(string) The path with the base or absolute path.
Source
File: wp-includes/functions.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |