path_is_absolute


path_is_absolute ( $path )

Parameters:
  • (string) path File path.
Returns:
  • (bool) True if path is absolute, false is not absolute.
Defined at:

Description

Tests if a given filesystem path is absolute.For example, '/foo/bar', or 'c:\windows'.

Related Functions

wp_is_writable, antispambot, rest_is_boolean, the_title_attribute, wp_is_mobile

Top Google Results

User discussions

wpseek mobile