wp_get_featured image id code example Example: get featured image id wordpress get_post_thumbnail_id($post)