[wp-hackers] Object Oriented Plugin Feedback

Derek Pavao derek.pavao at gmail.com
Sun Sep 16 03:00:21 UTC 2012


Thank You! This is the kind of reply I was hoping for. I was hoping you guys would bring up issues like this one so I can either figure out how to address it, or realize there is no good way and discontinue development. Seriously than you that helps alot. 



On Sep 15, 2012, at 10:52 PM, scribu <mail at scribu.net> wrote:

> Ok, some actual feedback:
> 
> The problem with this:
> 
>    function action_admin_init__perform_setup_tasks(){
>        // perform some additional setup tasks on admin_init
>    }
> 
> 
> is: how do you set the hook priority and the number of parameters the
> method accepts?
> 
> Also, how do you allow other plugins to unhook it?
> 
> -- 
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list