I have this:
public function add_results_page()
{
$results_page = add_menu_page(__("Results", 'kea'), __("Results", 'kea'), 'edit_published_posts', "results", null
, 'dashicons-admin-settings', 77);
add_submenu_page("results", "Classes - Results", "Classes - Results", "edit_published_posts", "class_results",
array($this, 'load_class_results'), 79);
}
What this is intended to produce is:
Results
=> Classes - Results
The 'null' as the callback is supposed to make the top level menu item do nothing. But, in my case it produces an unhandled link to wp-admin/results. How can I achieve my aim?