[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/block-patterns/ -> social-links-shared-background-color.php (source)

   1  <?php
   2  /**
   3   * Social links with a shared background color.
   4   *
   5   * @package WordPress
   6   * @since 5.8.0
   7   * @deprecated 6.7.0 This pattern is deprecated. Please use the Social Links block instead.
   8   */
   9  
  10  return array(
  11      'title'         => _x( 'Social links with a shared background color', 'Block pattern title' ),
  12      'categories'    => array( 'buttons' ),
  13      'blockTypes'    => array( 'core/social-links' ),
  14      'viewportWidth' => 500,
  15      'content'       => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
  16                          <ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
  17                          <!-- wp:social-link {"url":"#","service":"chain"} /-->
  18                          <!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
  19                          <!-- /wp:social-links -->',
  20  );


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref