WordPress at a glance
function is not described

setup_config_display_header() WP 2.3.0

Display setup wp-config.php file header.

No Hooks.

Return

Null. Nothing.

Usage

setup_config_display_header( $body_classes );
$body_classes(string/array)

Default: array()

Notes

  • Global. String. $wp_local_package
  • Global. WP_Locale. $wp_locale

Changelog

Since 2.3.0 Introduced.

Code of setup config display header: wp-admin/setup-config.php WP 5.2.2

<?php
function setup_config_display_header( $body_classes = array() ) {
	$body_classes   = (array) $body_classes;
	$body_classes[] = 'wp-core-ui';
	$dir_attr       = '';
	if ( is_rtl() ) {
		$body_classes[] = 'rtl';
		$dir_attr       = ' dir="rtl"';
	}

	header( 'Content-Type: text/html; charset=utf-8' );
	?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"<?php echo $dir_attr; ?>>
<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 &rsaquo; Setup Configuration File' ); ?></title>
	<?php wp_admin_css( 'install', true ); ?>
</head>
<body class="<?php echo implode( ' ', $body_classes ); ?>">
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
	<?php
} // end function setup_config_display_header();