WordPress at a glance
filter is not described

wp_get_original_image_url filter-hook . WP 5.3.0

Filters the URL to the original attachment image.

Usage

add_filter( 'wp_get_original_image_url', 'filter_function_name_4850', 10, 2 );
function filter_function_name_4850( $original_image_url, $attachment_id ){
	// filter...

	return $original_image_url;
}
$original_image_url(string)
URL to original image.
$attachment_id(int)
Attachment ID.

Changelog

Since 5.3.0 Introduced.

Where the hook is called

wp_get_original_image_url()
wp_get_original_image_url
wp-includes/post.php 7274
return apply_filters( 'wp_get_original_image_url', $original_image_url, $attachment_id );

Where in WP core the hook is used

Usage not found!