Action: classifai_ocr_unsuccessful_response

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

Fires when the ocr API response did not succeed.

Parameters:
Name Type Description
array|WP_Error

Response data or a WP_Error if the request failed.

string

The attachment URL.

Since:
  • 1.6.0
Source: