@@ 1720-1722 (lines=3) @@ | ||
1717 | $this->sidebar_instance_count[ $index ] = 0; |
|
1718 | } |
|
1719 | $this->sidebar_instance_count[ $index ] += 1; |
|
1720 | if ( ! $this->manager->selective_refresh->is_render_partials_request() ) { |
|
1721 | printf( "\n<!--dynamic_sidebar_before:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) ); |
|
1722 | } |
|
1723 | } |
|
1724 | ||
1725 | /** |
|
@@ 1737-1739 (lines=3) @@ | ||
1734 | */ |
|
1735 | public function end_dynamic_sidebar( $index ) { |
|
1736 | array_shift( $this->current_dynamic_sidebar_id_stack ); |
|
1737 | if ( ! $this->manager->selective_refresh->is_render_partials_request() ) { |
|
1738 | printf( "\n<!--dynamic_sidebar_after:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) ); |
|
1739 | } |
|
1740 | } |
|
1741 | ||
1742 | /** |