[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/wp-includes/theme-compat/ -> header-embed.php (source)

   1  <?php
   2  /**
   3   * Contains the post embed header template
   4   *
   5   * When a post is embedded in an iframe, this file is used to create the header output
   6   * if the active theme does not include a header-embed.php template.
   7   *
   8   * @package WordPress
   9   * @subpackage Theme_Compat
  10   * @since 4.5.0
  11   */
  12  
  13  if ( ! headers_sent() ) {
  14      header( 'X-WP-embed: true' );
  15  }
  16  
  17  ?>
  18  <!DOCTYPE html>
  19  <html <?php language_attributes(); ?> class="no-js">
  20  <head>
  21      <title><?php echo wp_get_document_title(); ?></title>
  22      <meta http-equiv="X-UA-Compatible" content="IE=edge">
  23      <?php
  24      /**
  25       * Prints scripts or data in the embed template head tag.
  26       *
  27       * @since 4.4.0
  28       */
  29      do_action( 'embed_head' );
  30      ?>
  31  </head>
  32  <body <?php body_class(); ?>>


Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1