Created
April 9, 2025 11:05
-
-
Save g-maclean/0592455bbeb3018711d82e5c0840e146 to your computer and use it in GitHub Desktop.
PropertyHive - Avantio - Use Original Image Size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('propertyhive_avantio_xml_image_size', 'use_original_image_url', 10, 2); | |
function use_original_image_url($image, $property) | |
{ | |
return (string)$image->OriginalURI; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment