It is possible to add the menu for a custom post type beneath another menu (in my case a custom one that I have created) but this appears as the first item.
How exactly do I move this to a different position - say 2nd or 3rd in the list?
Wordpress advises:
Note: When using 'some string' to show as a submenu of a menu page created by a plugin, this item will become the first submenu item, and replace the location of the top-level link. If this isn't desired, the plugin that creates the menu page needs to set the add_action priority for admin_menu to 9 or lower.
However how exactly do I apply this?
I'm a bit stuck for an answer on this one. The function add_menu_page() allows a numerical position argument but this is for the top level position. The function add_submenu_page() doesnt seem to allow a position to be set.
TIA
$GLOBALS["wp_menu"]
and$GLOBALS["wp_submenu"]
and reorder them$GLOBALS["menu"]
and$GLOBALS["submenu"]