get featured image id code example
Example 1: get featured image url
echo get_the_post_thumbnail_url();
Example 2: get featured image id wordpress
get_post_thumbnail_id($post)
echo get_the_post_thumbnail_url();
get_post_thumbnail_id($post)