Support » Plugins and Hacks » If add_menu_page
5 years ago
I’m creating a plugin, I’m new to this and have created a simple one already and for my second one want to add a function similar to this scenario:
If add_menu_page already created, skip and add_submenu_page
Any idea how to write this? Thanks!
Is it possible to have several plugins access a common file for functions etc)
I used an include_once method, this worked better than before, although I’ve now got to top level menus that are identical.