_wp_admin_html_begin() WordPress Function
The _wp_admin_html_begin() function is used to output the beginning of the HTML for the WordPress admin area. This function must be called before any other admin-related HTML is output.
_wp_admin_html_begin() #
Source
File: wp-admin/includes/template.php
function _wp_admin_html_begin() { global $is_IE; $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; if ( $is_IE ) { header( 'X-UA-Compatible: IE=edge' ); } ?> <!DOCTYPE html> <html class="<?php echo $admin_html_class; ?>" <?php /** * Fires inside the HTML tag in the admin header. * * @since 2.2.0 */ do_action( 'admin_xml_ns' ); language_attributes(); ?> > <head> <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" /> <?php }
Expand full source codeCollapse full source codeView on TracView on GitHub