WordPress at Your Fingertips
filter is not described

media_upload_default_tab filter-hook . WP 2.5.0

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


add_filter( 'media_upload_default_tab', 'filter_function_name_6574' );
function filter_function_name_6574( $tab ){
	// filter...

	return $tab;
The default media popup tab. (From Computer).
Default: 'type'


Since 2.5.0 Introduced.

Where the hook is called

In file: /wp-admin/media-upload.php
wp-admin/media-upload.php 78
$tab = apply_filters( 'media_upload_default_tab', 'type' );
wp-admin/includes/media.php 90
$current = apply_filters( 'media_upload_default_tab', $default );

Where in WP core the hook is used WordPress

Usage not found.