2020-05-01 / 5562阅 / 悠然
Retrieve post thumbnail ID.
(int|WP_Post) (Optional) Post ID or WP_Post object. Default is global $post.
Default value: null
(int|string) Post thumbnail ID or empty string if the post does not exist.