wp_get_original_image_url ( $attachment_id )
- (int) attachment_id Attachment post ID.
- (string|false) Attachment image URL, false on error or if the attachment is not an image.
- Introduced in WordPress: 5.3.0
- Deprecated in WordPress: —
Retrieves the URL to an original attachment image.Similar to `wp_get_attachment_url()` however some images may have been
processed after uploading. In this case this function returns the URL
to the originally uploaded image file.