wp_get_mime_types


wp_get_mime_types ( No parameters )

Returns:
  • (array) Array of mime types keyed by the file extension regex corresponding to those types.
Defined at:
Change Log:
  • 4: .

Description

Retrieve list of mime types and file extensions.

Related Functions

wp_get_ext_types, wp_match_mime_types, get_post_mime_types, wp_get_sites, get_post_mime_type

Top Google Results

User discussions

wpseek mobile