W3cubDocs

/WordPress

apply_filters( 'ext2type', array[] $ext2type )

Filters file type based on the extension name.

Description

See also

Parameters

$ext2type

(array[]) Multi-dimensional array of file extensions types keyed by the type of file.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ext2type