Filter: classifai_azure_read_should_process

apply_filters( 'classifai_azure_read_should_process', array, int )

Filters the request arguments sent to Read endpoint.

Parameters:
Name Type Description
array

$args Whether to run OCR processing or not.

int

$attachment_id The attachment ID.

Source:
Returns:

array Filtered request arguments.

apply_filters( 'classifai_azure_read_should_process', bool, int )

Filters whether to run Read processing on this attachment item

Parameters:
Name Type Description
bool

$process Whether to run OCR processing or not.

int

$attachment_id The attachment ID.

Source:
Returns:

bool Whether this attachment should have OCR processing.