WordPress at a glance
filter is not described

_wp_relative_upload_path filter-hook . WP 2.9.0

Filters the relative path to an uploaded file.

Usage

add_filter( '_wp_relative_upload_path', 'filter_function_name_4992', 10, 2 );
function filter_function_name_4992( $new_path, $path ){
	// filter...

	return $new_path;
}
$new_path(string)
Relative path to the file.
$path(string)
Full path to the file.

Where the hook is called

_wp_relative_upload_path()
wp-includes/post.php 467
return apply_filters( '_wp_relative_upload_path', $new_path, $path );

Where the hook is used (in WP core)

Does not used.