Summery Summery
Filters whether a post has a post thumbnail.
Syntax Syntax
Parameters Parameters
- $has_thumbnail
-
true if the post has a post thumbnail, otherwise false.
- $post
-
Post ID or WP_Post object. Default is global
$post
. - $thumbnail_id
-
Post thumbnail ID or empty string.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |