-
-
Save twentyfortysix/db28df1e7f5693bf90b0 to your computer and use it in GitHub Desktop.
WP - get featured img. src.
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
$img = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'medium' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment