single.html
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Blocks
  • Plugins
  • Themes
  • Sitemap
  • Blog
  • Block news
  • About

Home » Files » wp-includes » wp-includes/blocks » wp-includes/blocks/widget-group.php

wp-includes/blocks/widget-group.php


Lines:

1 to 23 of 23
<?php

/**
 * Server-side rendering of the `core/widget-group` block.
 *
 * @package WordPress
 */

/* function render_block_core_widget_group() – Renders the ‘core/widget-group’ block. */

/* function register_block_core_widget_group() – Registers the ‘core/widget-group’ block. */

add_action( 'init', 'register_block_core_widget_group' );

/* function note_sidebar_being_rendered() – Make a note of the sidebar being rendered before WordPress starts rendering
it. This lets us get to the current sidebar in
render_block_core_widget_group(). */
add_action( 'dynamic_sidebar_before', 'note_sidebar_being_rendered' );

/* function discard_sidebar_being_rendered() – Clear whatever we set in note_sidebar_being_rendered() after WordPress
finishes rendering a sidebar. */
add_action( 'dynamic_sidebar_after', 'discard_sidebar_being_rendered' );
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: wp-includes/blocks/widget-group.php
      Plugin ref: WordPress
      Version: 6.0
      Deprecated?: No
      API Letters: B,G,I,W

      Published:

      25th January 2022

      Last updated:

      25th January 2022

      Information

      File name: wp-includes/blocks/widget-group.php
      Plugin ref: WordPress
      Version: 6.0
      Deprecated?: No
      API Letters: B,G,I,W
      WordPress core a2z

      WordPress core a2z

      WordPress core only

      WordPress version:6.0
      Gutenberg version:
      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:  core.wp-a2z.org
      (C) Copyright Bobbing Wide 2020-2022. All rights reserved


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

      • Home
      • Blog
      • Sitemap
      • Sites