• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / inc/patterns/hidden-bird.php


Lines:

1 to 16 of 16
<?php

/**
 * Bird image
 *
 * This pattern is used only to reference a dynamic image URL.
 * It does not appear in the inserter.
 */
return array(
  'title'    => __( 'Heading and bird image', 'twentytwentytwo' ),
  'inserter' => false,
  'content'  => '<!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none"} -->
					<figure class="wp-block-image alignwide size-full"><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' ) . '"/></figure>
					<!-- /wp:image -->',
);
 

 View on GitHub

Called by

    Invoked by

      Calls

      Call hooks

      File name: inc/patterns/hidden-bird.php
      Plugin ref: Twenty Twenty-Two
      Version: 1.3
      Deprecated?: No
      API Letters: B,H,I,P

      Published: 25th January 2022 | Last updated: 25th January 2022

      Primary Sidebar

      Information

      File name: inc/patterns/hidden-bird.php
      Plugin ref: Twenty Twenty-Two
      Version: 1.3
      Deprecated?: No
      API Letters: B,H,I,P

      inc/patterns

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 6.1.1. PHP: 8.0.28
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wp-a2z.org
      © Copyright WordPress a2z 2014-2023. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites