wp_normalize_path
wp_normalize_path ( $path )
Parameters:- (string) path Path to normalize.
Returns:- (string) Normalized path.
Defined at:Change Log: - Introduced in WordPress: 3.9.0
- Deprecated in WordPress: —
Description
Normalizes a filesystem path.On windows systems, replaces backslashes with forward slashes
and forces upper-case drive letters.
Allows for two leading slashes for Windows network shares, but
ensures that all other duplicate slashes are reduced to a single.