Filter: classifai_ocr_tags

apply_filters( 'classifai_ocr_tags', $tags, $attachment_id, $scan ) → {array}

Filters the tags we check for OCR processing

Parameters:
Name Type Description
$tags array

Tags to look for. Default handwriting and text.

$attachment_id int

The attachment ID.

$scan bool | object

Previously run scan.

Since:
  • 1.6.0
Source:
Returns:

Filtered tags.

Type
array