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

apply_filters( 'classifai_azure_read_should_process', $args, $attachment_id ) → {array}

Filters the request arguments sent to Read endpoint.

Parameters:
Name Type Description
$args array

Whether to run OCR processing or not.

$attachment_id int

The attachment ID.

Since:
  • 1.7.0
Source:
Returns:

Filtered request arguments.

Type
array