setup_config_display_header
Display setup wp-config.php file header.
Description
setup_config_display_header( (array) $body_classes = array() );
Parameters (1)
- 0. $body_classes — Optional. (array) =>
array()
- The body classes.
Usage
if ( !function_exists( 'setup_config_display_header' ) ) { require_once ABSPATH . '/wp-admin/setup-config.php'; } // The body classes. $body_classes = array(); // NOTICE! Understand what this does before running. $result = setup_config_display_header($body_classes);
Defined (1)
The function is defined in the following location(s).
- /wp-admin/setup-config.php
- function setup_config_display_header( $body_classes = array() ) {
- $body_classes = (array) $body_classes;
- $body_classes[] = 'wp-core-ui';
- if ( is_rtl() ) {
- $body_classes[] = 'rtl';
- }
- header( 'Content-Type: text/html; charset=utf-8' );
- ?>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
- <head>
- <meta name="viewport" content="width=device-width" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="robots" content="noindex, nofollow" />
- <title><?php _e( 'WordPress › Setup Configuration File' ); ?></title>
- <?php wp_admin_css( 'install', true ); ?>
- </head>
- <body class="<?php echo implode( ' ', $body_classes ); ?>">
- <?php