public static function get_thumbnail_size() {
		$sizes = self::get_image_sizes();

		if ( isset( $sizes['thumbnail'] ) ) {
			return $sizes['thumbnail'];
		}

		$img_size = reset( $sizes );

		return $img_size;
	}
public static function get_thumbnail_size() {
		$sizes = self::get_image_sizes();

		if ( isset( $sizes['thumbnail'] ) ) {
			return $sizes['thumbnail'];
		}

		$img_size = reset( $sizes );

		return $img_size;
	}
public static function get_thumbnail_size ( ) { $ sizes = self :: get_image_sizes ( ) ; if ( isset ( $ sizes [ 'thumbnail' ] ) ) { return $ sizes [ 'thumbnail' ] ; } $ img_size = reset ( $ sizes ) ; return $ img_size ; }
Get thumbnail size from image config.

When an image is requested without a size name or with dimensions only, try to return the thumbnail.
Otherwise take the first image in the image array.

@return array Image size configuration array.
Get thumbnail size from image config .