ext2type WordPress Filter Hook

The ext2type WordPress hook is used to extend the functionality of the WordPress core. It is used to add new features or modify existing ones. This hook is used extensively by plugins and themes.

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

Filters file type based on the extension name.


Description

Top ↑

See also


Top ↑

Parameters

$ext2type

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


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More