Created
October 3, 2019 14:20
-
-
Save jakecausier/912c08972f3659e801097dd3c317e027 to your computer and use it in GitHub Desktop.
Magic WordPress image-grabber at requested size from ID
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
<?php echo esc_url( wp_get_attachment_image_src( IMAGE_ID_SOURCE, 'large' )[0] ) ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment