[wp-hackers] Plugin action hook

Thiago Becker thiago.becker at gmail.com
Fri Sep 17 19:08:34 UTC 2004


I was thinking about some plugins, that need to handle their actions
(for installatinon purposes, in most cases). The way is handled is to
ask the user to install it manually, but i think there is a better way
to do it. So I'm submiting my thoughts to the appreciation of the
list.

The way I think this must be handled is to add a hook 

do_action("plugin_action_$plugin_file", $action) 

in plugins.php after the default action is generated. So plugin
creator can handle their own installation or other actions inside the
plugin.

Any thoughts? Should I file it at mosquito as a feature request?
-- 
===================================
Thiago Rafael Becker
Computer Science Undergraduate
thiago.becker at gmail.com
===================================



More information about the hackers mailing list