wp_get_mime_types


wp_get_mime_types ( No parameters )

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

Description

Retrieves the list of mime types and file extensions.

Related Functions

wp_get_ext_types, wp_match_mime_types, get_post_mime_types, wp_get_sites, wp_get_environment_type

Top Google Results

User discussions

wpseek mobile