/**
* @return void
*/
private function print_tbody()
{
$rows = $this->languages->get_languages(['number' => $this->pagination_data->get_items_per_page(), 'page' => $this->pagination_data->get_current_page()]);
if (!$rows) {
?>
<tr>
<td colspan="<?php
echo count($this->columns);
?>
">
<p>
<?php
_e('No items found. We recommend to reinstall this plugin.', 'multilingual-press');
?>
</p>
</td>
</tr>
<?php
return;
}
foreach ($rows as $id => $row) {
$this->print_row($id, $row);
}
}