Filter: classifai_azure_read_should_process

apply_filters( 'classifai_azure_read_should_process', $process, $attachment_id ) → {bool}

Filters whether to run Read processing on this attachment item

Parameters:
Name Type Description
$process bool

Whether to run OCR processing or not.

$attachment_id int

The attachment ID.

Since:
  • 1.7.0
Source:
Returns:

Whether this attachment should have OCR processing.

Type
bool