wp_get_default_extension_for_mime_type


wp_get_default_extension_for_mime_type ( $mime_type )

Parameters:
  • (string) mime_type
Returns:
  • (string|false)
Defined at:

Description

Returns first matched extension for the mime-type, as mapped from wp_get_mime_types().

Related Functions

wp_get_audio_extensions, wp_get_video_extensions, wp_get_environment_type, wp_get_extension_error_description, wp_get_media_creation_timestamp

Top Google Results

User discussions

wpseek mobile