post_thumbnail_url

post_thumbnail_url

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('post_thumbnail_url') is found 1 times:

  • /wp-includes/post-thumbnail-template.php line 269
    	 * @param int|WP_Post|null $post          Post ID or WP_Post object. Default is global `$post`.
    	 * @param string|int[]     $size          Registered image size to retrieve the source for or a flat array
    	 *                                        of height and width dimensions. Default 'post-thumbnail'.
    	 */
    	return apply_filters( 'post_thumbnail_url', $thumbnail_url, $post, $size );
    }
    
    /**
     * Displays the post thumbnail URL.
     *
     * @since 4.4.0