Skip to main content
0
Wordpress

Post thumbnail url WordPress

$url =  wp_get_attachment_image_src(get_post_thumbnail_id($id), ‘thumbnail’ );

echo $url[0];

0 Reviews

There are no reviews yet.