[wp-hackers] Programatically retrieve settings page link?
wp-hackers at striderweb.com
Sat Jun 7 06:10:02 GMT 2008
Hi all --
Is there a way to automatically get a plugin page link, e.g. "options-
I'm adding a "Settings" link in the Plugins page. At the moment I'm
hard-coding it; I would prefer some sort of reusable code that figures
the link out itself.
Setting $page = add_submenu_page... returns (in this case)
'design_page_pull-quotes' which isn't going to work.
More information about the wp-hackers