Filter: classifai_should_crop_size

apply_filters( 'classifai_should_crop_size', $return, $size ) → {bool}

Filters whether to smart crop images of a given size.

Parameters:
Name Type Description
$return bool

Whether non-position-based cropping was opted into when registering the image size.

$size string

The image size.

Since:
  • 1.5.0
Source:
Returns:

Whether this image size should be smart cropped.

Type
bool