Menu
wpseek
mobile
Search
wp_ext2type
wp_ext2type
(
$ext
)
Parameters:
(string)
ext
The extension to search.
Returns:
(string|void) The file type, example: audio, video, document, spreadsheet, etc.
Defined at:
wp-includes/functions.php
, line 2990
Introduced in WordPress:
2.5.0
Deprecated in WordPress:
—
Description
Retrieves the file type based on the extension name.
Related Functions
wp_get_ext_types
,
wp_get_http
,
wp_get_mime_types
,
wp_title
,
wp_exif_date2ts
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
4
_build_block_template_object_from_post_object
wp_autoload_values_to_autoload
wp_determine_option_autoload_value
wp_filter_default_autoload_value_via_option_size
My Bookmarks
- Soon -
About
Imprint
Privacy Policy