Filter: dt_allowed_media_extensions

apply_filters( 'dt_allowed_media_extensions', $allowed_extensions, $url, $post_id ) → {array}

Filter allowed media extensions to be processed

Parameters:
Name Type Description
$allowed_extensions array

Allowed extensions array.

$url string

Media url.

$post_id int

Post ID.

Since:
  • 1.3.7
Source:
Returns:

Media extensions to be processed.

Type
array