wp_get_original_image_path

wp_get_original_image_path

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_get_original_image_path') is found 1 times:

  • /wp-includes/post.php line 8072
    	 *
    	 * @param string $original_image Path to original image file.
    	 * @param int    $attachment_id  Attachment ID.
    	 */
    	return apply_filters( 'wp_get_original_image_path', $original_image, $attachment_id );
    }
    
    /**
     * Retrieves the URL to an original attachment image.
     *
     * Similar to `wp_get_attachment_url()` however some images may have been