how do I link in admin-plugin
-
I’m writing a plugin, but how do I link to my own class-functions without using add_submenu_page(…)? I have a class and all add_submenu_page links fine, I can load and save stuff etc. But from from some functions I’d like to link to others which are not in the menu – how do I do that ?
class myPlugin { function menu(){ add_submenu_page(...,array('myPlugin','menuFunction1')); } function menuFunction1(){ echo '<a href="/how-do-I-link-to-this-function" >link</a>'; } function how-do-I-link-to-this-function(){ ...; } }
hope it makes sense ?
Ask
- The topic ‘how do I link in admin-plugin’ is closed to new replies.