has_image_size

SummerySummery

Check if an image size exists.

Syntax

has_image_size( string $name )

ParametersParameters

$name

(string) (Required) The image size to check.

ReturnReturn

(bool) True if the image size exists, false if not.

SourceSource

File: wp-includes/media.php


			

ChangelogChangelog

Changelog
Version Description
3.9.0 Introduced.
Scroll to Top