WordPress at a glance
filter is not described

media_upload_default_type filter-hook . WP 2.5.0

Filters the default media upload type in the legacy (pre-3.5.0) media popup.


add_filter( 'media_upload_default_type', 'filter_function_name_436' );
function filter_function_name_436( $type ){
	// filter...

	return $type;
The default media upload type. Possible values include 'image', 'audio', 'video', 'file', etc.
Default: 'file'


Since 2.5.0 Introduced.

Where the hook is called

In file: /wp-admin/media-upload.php
wp-admin/media-upload.php 64
$type = apply_filters( 'media_upload_default_type', 'file' );

Where in WP core the hook is used WordPress

Usage not found.