Glossary Term
get_the_post_thumbnail_url()
3 tags
1 category
get_the_post_thumbnail_url() — Returns the post thumbnail URL.
Inputs: $post (int|WP_Post|null): Optional. Post ID or WP_Post object. Default is global $post. $size (string|int[]): Optional. Registered image size to retrieve the source for or a flat array of height and width dimensions. Default ‘post-thumbnail’.
Returns string|false: Post thumbnail URL or false if no image is available. If $size does not match any registered image size, the original image URL will be returned.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
