2020-05-02 / 2977阅 / 悠然
Return the post thumbnail URL.
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default is global $post.
Default value: null
(string|array)
(Optional)
Registered image size to retrieve the source for or a flat array of height and width dimensions.
Default value: 'post-thumbnail'
(string|false) Post thumbnail URL or false if no URL is available.