_wp_relative_upload_path


_wp_relative_upload_path ( $path )

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

Description

Return relative path to an uploaded file.

The path is relative to the current upload dir.

Related Functions

_wp_translate_postdata, _wp_handle_upload, wp_get_upload_dir, _wp_get_attachment_relative_path, wp_ajax_upload_attachment

Top Google Results

User discussions

wpseek mobile