Filter: classifai_ocr_should_process

apply_filters( 'classifai_ocr_should_process', bool, int, bool|object )

Filters whether to run OCR processing on this media item

Parameters:
Name Type Description
bool

$process Whether to run OCR processing or not.

int

$attachment_id The attachment ID.

bool|object

$scan Previosly run scan.

Since:
  • 1.6.0
Source:
Returns:

bool Whether this attachment should have OCR processing.