W3cubDocs

/WordPress

apply_filters( 'ext2type', array $ext2type )

Filters file type based on the extension name.

Description

See also

Parameters

$ext2type

(array) Multi-dimensional array with extensions for a default set of file types.

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