Filter: classifai_ocr_approved_media_types

apply_filters( 'classifai_ocr_approved_media_types', array, int )

Filters the media types that should be processed

Parameters:
Name Type Description
array

$media_types The media types to process.

int

$attachment_id The attachment ID.

Since:
  • 1.6.0
Source:
Returns:

array Filtered media types.