path_is_absolute
path_is_absolute ( $path )
Parameters:Returns:- (bool) True if path is absolute, false is not absolute.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Tests if a given filesystem path is absolute.For example, '/foo/bar', or 'c:\windows'.