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:

Description

Retrieve 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

wpseek mobile