apply_filters( 'post_thumbnail_id', int|false $thumbnail_id , int|WP_Post|null $post )
Filters the post thumbnail ID.
Parameters
Source
File: wp-includes/post-thumbnail-template.php
.
View all references
return (int) apply_filters( 'post_thumbnail_id', $thumbnail_id, $post );
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |