path_join
path_join ( $base, $path )
Parameters:- (string) base Base path.
- (string) path Path relative to $base.
Returns:- (string) The path with the base or absolute path.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Joins two filesystem paths together.For example, 'give me $path relative to $base'. If the $path is absolute,
then it the full path is returned.