_wp_get_attachment_relative_path
- %1$s is private and should not be used in themes or plugins directly.
_wp_get_attachment_relative_path ( $file )
Access:Parameters:- (string) file Attachment file name.
Returns:- (string) Attachment path relative to the upload directory.
Defined at: - Introduced in WordPress: 4.4.1
- Deprecated in WordPress: —
Description
Gets the attachment path relative to the upload directory.