[wp-hackers] Modifying admin forms via plugins

Matt Mullenweg m at mullenweg.com
Tue Jun 22 23:14:24 UTC 2004


Jason goldsmith wrote:
> I DID read it more closely.....
> 
> Let's say I have a plugin called bob.php, I don't want the plugin
> interface to FORCE me to put admin interface code in bob.php, I want
> the plugin interface to call ed.php which be my admin GUI

It'd be best to keep plugins as self-contained as possible. On the 
plugin's pages (under the Plugins tab) we can set a variable like $admin = 
true and then you can put all the forms, instructions, or whatever you 
want on that page in a conditional.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...



More information about the hackers mailing list