media_upload_header() – Outputs the legacy media upload header.

You appear to be a bot. Output may be restricted

Description

Outputs the legacy media upload header.

Usage

media_upload_header();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/media.php
Lines:

1 to 11 of 11
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>';
  }
}
 

 View on GitHub View on Trac