WordPress at Your Fingertips
function is not described

media_upload_header() WP 2.5.0

Outputs the legacy media upload header.

No Hooks.

Return

null. Nothing.

Usage

media_upload_header();

Changelog

Since 2.5.0 Introduced.

Code of media_upload_header() WP 5.8.2

function media_upload_header() {
	$post_id = isset( $_REQUEST['post_id'] ) ? (int) $_REQUEST['post_id'] : 0;

	echo '<script type="text/javascript">post_id = ' . $post_id . ';</script>';

	if ( empty( $_GET['chromeless'] ) ) {
		echo '<div id="media-upload-header">';
		the_media_upload_tabs();
		echo '</div>';
	}
}