[wp-hackers] Stop activation request

Peter peter at avirtualhome.com
Thu Feb 7 02:05:19 GMT 2008


I am wondering if there is a way to stop and activation request.
Example:
A user clicks on activate in the admin->plugin menu
The script does a register_activation_hook($file, $function)

In the function there will be tables created but when they fail you
should see an error message, like the message when it succeeds but with
an error and the plugin isn't activated.

I hope it makes sense.

-- 
Peter van der Does

GPG key: E77E8E98
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Jabber ID: pvanderdoes at gmail.com

GetDeb Package Builder
http://www.getdeb.net - Software you want for Ubuntu


More information about the wp-hackers mailing list