bishawjit-das
11/22/2015 - 6:57 AM

Get full image url of the featured image

Get full image url of the featured image

<?php 

	$image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); 
	echo $image_url[0]; 

?>


Ref: https://developer.wordpress.org/reference/functions/get_the_post_thumbnail