WPDev.one

path_join()

path_join( mixed $base, mixed $path )

Joins two filesystem paths together.

Parameters 2 required

Name / Type Description
$base
string

Base path.

Required
$path
string

Path relative to $base.

Required

Return Value

(string)
The path with the base or absolute path.

Function Information

Since Version
2.5.0
Source File
wp-includes/functions.php
Advertisement