collector->get_data();
$this->before_tabular_output(); // phpcs:disable ?>
Header 1 |
Header 2 |
Value Title |
Value |
after_tabular_output();
$this->before_non_tabular_output();
$data = $this->collector->get_data();
$this->after_non_tabular_output();
}
/**
* Adds the panel to the admin panel.
*
* @since 2.0.11
*
* @param array $menu The original menu.
* @return array
*/
public function admin_menu(array $menu) {
return $menu;
}
/**
* Adds a panel menu for the panel.
*
* @since 2.0.11
*
* @param array $menu The admin panel menu.
* @return array
*/
public function panel_menu(array $menu) {
$new_menu = array(
'wp-ultimo' => $this->menu(
array(
'title' => esc_html__('WP Multisite WaaS', 'wp-ultimo'),
'id' => 'wp-ultimo',
)
),
);
return $new_menu + $menu;
}
}