Filter: classifai_smart_cropping_source_url
Filters the image URL to send to AI Vision for smart cropping.
A non-null value will override default plugin behavior.
Parameters
| Name | Type | Description |
|---|---|---|
| $url | `null | string` |
| $attachment_id | int | The attachment image ID. |
Since
- 1.5.0
Source
Defined in includes/Classifai/Providers/Azure/SmartCropping.php at line 184
Returns
URL to be sent to Computer Vision for smart cropping.