_wp_relative_upload_path


_wp_relative_upload_path ( $path )

Access:
  • private
Parameters:
  • (string) path Full path to the file.
Returns:
  • (string) Relative path on success, unchanged path on failure.
Defined at:

Description

Returns relative path to an uploaded file.The path is relative to the current upload dir.

Related Functions

_wp_translate_postdata, wp_resolve_post_date, _wp_handle_upload, wp_get_upload_dir, _wp_get_attachment_relative_path

Top Google Results

User discussions

wpseek mobile