post_thumbnail_id – filter

Filters the post thumbnail ID. 

Parameters

.
( 5.9.0 ) . .
( int|false ) $thumbnail_id Post thumbnail ID or false if the post does not exist. . . .
$post
( int|WP_Post|null ) Post ID or WP_Post object. Default is global `$post`. . . .
API Letters: ,,

Implementers