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