Filters the post thumbnail ID.
return (int) apply_filters( 'post_thumbnail_id', $thumbnail_id, $post );
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_thumbnail_id