[wp-hackers] Programatically retrieve settings page link?

Stephen Rider 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.

Any ideas?


Stephen Rider

More information about the wp-hackers mailing list