Filter: classifai_smart_cropping_thumb_file_name
Filters the file name of the smart-cropped image.
By default, the filename mirrors what is generated by core -- e.g., my-thumb-150x150.jpg -- so will override the core-generated image. Apply this filter to keep the original file in the file system.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | string | Default file name. |
| $ | int | The ID of the attachment being processed. |
| $ | array | Width and height data for the image. |
Since
- 1.5.0
Source
Defined in includes/Classifai/Features/ImageCropping.php at line 238
Returns
Filtered file name.