Filter: classifai_should_crop_size
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
Defined in includes/Classifai/Providers/Azure/SmartCropping.php at line 118
Returns
Whether this image size should be smart cropped.