Function: remove_image_size

remove_image_size( string $name )

Remove a new image size.

Parameters

Name Type(s) Default Value Description
$name string

The image size to remove.

Returns

boolean

True if the image size was successfully removed, false on failure.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.