post_thumbnail_size

post_thumbnail_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('post_thumbnail_size') is found 1 times:

  • /wp-includes/post-thumbnail-template.php line 184
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    * @param string|int[] $size    Requested image size. Can be any registered image size name, or
     *                              an array of width and height values in pixels (in that order).
     * @param int          $post_id The post ID.
     */
    $size = apply_filters( 'post_thumbnail_size', $size, $post->ID );
     
    if ( $post_thumbnail_id ) {
     
        /**
         * Fires before fetching the post thumbnail HTML.
         *