has_post_thumbnail – filter
Filters whether a post has a post thumbnail.
Parameters
- .
- ( 5.1.0 ) . .
- ( bool ) $has_thumbnail true if the post has a post thumbnail, otherwise false. . . .
- $post
- ( int|WP_Post|null ) Post ID or WP_Post object. Default is global `$post`. . . .
- ( int|false ) $thumbnail_id Post thumbnail ID or false if the post does not exist. . . .