_wp_relative_upload_path
- %1$s is private and should not be used in themes or plugins directly.
_wp_relative_upload_path ( $path )
Access:Parameters:- (string) path Full path to the file.
Returns:- (string) Relative path on success, unchanged path on failure.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Returns relative path to an uploaded file.The path is relative to the current upload dir.