Action: classifai_smart_cropping_after_request

do_action( 'classifai_smart_cropping_after_request', array|WP_Error, string, array )

Fires after the request to the generateThumbnail smart-cropping endpoint has run.

Parameters:
Name Type Description
array|WP_Error

Response data or a WP_Error if the request failed.

string

The request URL with query args added.

array

Array containing the image height and width.

Since:
  • 1.5.0
Source: