public function get_items() {
		global $wp_registered_sidebars;
		$items = [];

		foreach ( $wp_registered_sidebars as $item ) {
			$items[$item['name']] = $item['id'];
		}

		ksort( $items );

		return $items;
	}
public function get_items() {
		global $wp_registered_sidebars;
		$items = [];

		foreach ( $wp_registered_sidebars as $item ) {
			$items[$item['name']] = $item['id'];
		}

		ksort( $items );

		return $items;
	}
public function get_items ( ) { global $ wp_registered_sidebars ; $ items = [ ] ; foreach ( $ wp_registered_sidebars as $ item ) { $ items [ $ item [ 'name' ] ] = $ item [ 'id' ] ; } ksort ( $ items ) ; return $ items ; }
Get registered sidebars as dropdown items.

@return array
Get registered sidebars as dropdown items .