Function : create_admin_menu()
This function let you create a dashboard menu. It accepts three parameters as follows :
first : menu namespace
second : menu position (before or after)
third : item concerned (dashboard, controller, installer, modules, themes, users, roles, settings, frontend, about, menu)
Notice : This function must be called only within init.php modules or themes file. This function doesn't display a menu, but only create it.
Here is an example :
<?php
create_admin_menu( 'custom-menu' , 'before' , 'dashboard' );
// you can add now meun items with add_admin_menu...
Updated less than a minute ago