embed_thumbnail_image_size

embed_thumbnail_image_size

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('embed_thumbnail_image_size') is found 1 times:

  • /wp-includes/theme-compat/embed-content.php line 59
    			 *
    			 * @param string $image_size   Thumbnail image size.
    			 * @param int    $thumbnail_id Attachment ID.
    			 */
    			$image_size = apply_filters( 'embed_thumbnail_image_size', $image_size, $thumbnail_id );
    
    			$shape = $measurements[0] / $measurements[1] >= 1.75 ? 'rectangular' : 'square';
    
    			/**
    			 * Filters the thumbnail shape for use in the embed template.
    			 *