do_action( 'classifai_smart_cropping_unsuccessful_response', Response, The, Array )
Fires when the generateThumbnail smart-cropping API response did not have a 200 status code.
Parameters:
Name | Type | Description |
---|---|---|
Response |
array | WP_Error | data or a WP_Error if the request failed. |
The |
string | request URL with query args added. |
Array |
array | containing the image height and width. |
- Since:
- 1.5.0
- Source: