discard_sidebar_being_rendered() – Clear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.

You appear to be a bot. Output may be restricted

Description

Clear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.

Usage

discard_sidebar_being_rendered();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/blocks/widget-group.php


Lines:

1 to 5 of 5
function discard_sidebar_being_rendered() {
  global $_sidebar_being_rendered;
  unset( $_sidebar_being_rendered );
}
 

 View on GitHub View on Trac