wphooks.info - admin_head_{$content_func}

admin_head_{$content_func}

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/media.php:
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
		 * Fires in the admin header for each specific form tab in the legacy
		 * (pre-3.5.0) media upload popup.
		 *
		 * The dynamic portion of the hook, `$content_func`, refers to the form
		 * callback for the media upload type. Possible values include
		 * 'media_upload_type_form', 'media_upload_type_url_form', and
		 * 'media_upload_library_form'.
		 *
		 * @since 2.5.0
		 */
		do_action( "admin_head_{$content_func}" );
	}

	$body_id_attr = '';
	if ( isset( $GLOBALS['body_id'] ) ) {
		$body_id_attr = ' id="' . $GLOBALS['body_id'] . '"';
	}
	?>
</head>
<body<?php echo $body_id_attr; ?> class="wp-core-ui no-js">