WordPress at a glance
function is not described

WP_Customize_Widgets::end_dynamic_sidebar() public WP 4.5.0

Finishes keeping track of the current sidebar being rendered.

Inserts a marker after widgets are rendered in a dynamic sidebar.

{} It's a method of the class: WP_Customize_Widgets{}

No Hooks.

Return

Null. Nothing.

Usage

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->end_dynamic_sidebar( $index );
$index(int/string) (required)
Index, name, or ID of the dynamic sidebar.

Changelog

Since 4.5.0 Introduced.

Code of WP_Customize_Widgets::end_dynamic_sidebar() WP 5.5.1

<?php
public function end_dynamic_sidebar( $index ) {
	array_shift( $this->current_dynamic_sidebar_id_stack );
	if ( ! $this->manager->selective_refresh->is_render_partials_request() ) {
		printf( "\n<!--dynamic_sidebar_after:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) );
	}
}