the_custom_header_markup() – Print the markup for a custom header.

You appear to be a bot. Output may be restricted

Description

Prints the markup for a custom header.

A container div will always be printed in the Customizer preview.

Usage

the_custom_header_markup();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/theme.php
Lines:

1 to 13 of 13
function the_custom_header_markup() {
  $custom_header = get_custom_header_markup();
  if ( empty( $custom_header ) ) {
    return;
  }

  echo $custom_header;

  if ( is_header_video_active() && ( has_header_video() || is_customize_preview() ) ) {
    wp_enqueue_script( 'wp-custom-header' );
    wp_localize_script( 'wp-custom-header', '_wpCustomHeaderSettings', get_header_video_settings() );
  }
}
 

 View on GitHub View on Trac