[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> hidden-bird.php (source)

   1  <?php
   2  /**
   3   * Bird image
   4   *
   5   * This pattern is used only to reference a dynamic image URL.
   6   * It does not appear in the inserter.
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Twenty_Two
  10   * @since Twenty Twenty-Two 1.0
  11   */
  12  
  13  return array(
  14      'title'    => __( 'Heading and bird image', 'twentytwentytwo' ),
  15      'inserter' => false,
  16      'content'  => '<!-- wp:image {"align":"wide","width":2000,"height":474,"sizeSlug":"full","linkDestination":"none"} -->
  17                      <figure class="wp-block-image alignwide size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2000" height="474"/></figure>
  18                      <!-- /wp:image -->',
  19  );


Generated : Wed Aug 12 08:20:21 2026 Cross-referenced by PHPXref