[wp-hackers] Re: Detect if a plugin is calling function
Angsuman Chakraborty
angsuman at taragana.com
Sat Apr 7 01:00:00 GMT 2007
That will be fine unless someone like you decides to set the priority to
2000 :)
On Fri, 2007-04-06 at 14:34 -0400, David Coppit wrote:
> On Fri, 6 Apr 2007, Alex Gnsche wrote:
>
> > You could hook in before the other plugin, the add_action() and
> > add_filter() hooks provide an optional parameter to define the plugin
> > pririty. Plugins which don't use this parameter have a default value of
> > 10. Yours could use 7 or something.
>
> So setting the priority for Category Access to something like 1000 would
> have it filter *after* the other plugins filter it. I bet that would work
> Ian. Let me know!
>
> David
>
> _____________________________________________________________________
> David Coppit david at coppit.org
> The College of William and Mary http://coppit.org/
>
> "When the president does it that means that it is not illegal."
> - Richard Nixon on domestic surveillance, 5/19/1977
> "Do I have the legal authority to do this? And the answer is, absolutely."
> - George W. Bush on domestic surveillance, 12/19/2005
> _______________________________________________ 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