_wp_get_attachment_relative_path


_wp_get_attachment_relative_path ( $file )

Access:
  • private
Parameters:
  • (string) $file Attachment file name.
Returns:
  • (string) Attachment path relative to the upload directory.
Defined at:

Description

Get the attachment path relative to the upload directory.

Related Functions

wp_get_attachment_metadata, wp_get_attachment_url, wp_get_attachment_link, wp_get_attachment_caption, wp_get_attachment_image

Top Google Results

User discussions

wpseek mobile