Filter: classifai_ocr_approved_media_types

apply_filters( 'classifai_ocr_approved_media_types', $media_types, $attachment_id ) → {array}

Filters the media types that should be processed

Parameters:
Name Type Description
$media_types array

The media types to process.

$attachment_id int

The attachment ID.

Since:
  • 1.6.0
Source:
Returns:

Filtered media types.

Type
array