WPDev.one
Core Function
View Source on Trac ↗

path_is_absolute()

path_is_absolute( mixed $path )

Tests if a given filesystem path is absolute.

Parameters 1 required

Name / Type Description
$path
string

File path.

Required

Return Value

(bool)
True if path is absolute, false is not absolute.

Function Information

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