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_9103', 10, 2 );
function filter_function_name_9103( $original_image_url, $attachment_id ){
	// filter...

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

Список изменений

С версии 5.3.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.