I have a menu defined in WP Admin that looks like this:
I currently developing a wordpress plugin that is using two custom post types. What I want to know here: is it possible to add a custom post type menu as another custom post type’s sub menu?
I am adding items to a CPT Admin menu using add_submenu_page
which works great, but they are added to the bottom of the sub-menu after the CPT options. I want to be able to have them on top , but I suppose this question can also apply to ordering all Admin based sub-menu items.
I would like to add a separator to the admin submenu section, NOT in the top level section.
I have a custom plugin ‘Charts’ that has it’s own menu. In that menu are links to the 3 pages for the plugin – ‘Charts’, ‘Add Chart’ and ‘Edit Chart’. However, I don’t want to display the link to ‘Edit Chart’.