/** * @param string $list_id * @return void */ private function print_item_list($list_id) { $items = $this->data->get_list(); if (empty($items)) { esc_html_e('No languages found', 'multilingualpress'); return; } // class "tabs-panel-active" is needed to make "Select All" work ?> <ul id="<?php print $list_id; ?> " class="tabs-panel-active"> <?php foreach ($items as $value => $text) { $this->print_item($value, $text); } ?> </ul> <?php }