[wp-hackers] Re: Detect if a plugin is calling function

Computer Guru computerguru at neosmart.net
Sat Apr 7 19:57:48 GMT 2007


Lol, my RSS plugin has a value of 1001 for that *exact* reason :P

Same on eBay: I always bid a round number + 1 USD as my max.... Psychology
:D

Computer Guru
NeoSmart Technologies
http://neosmart.net/blog/


> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-
> bounces at lists.automattic.com] On Behalf Of Angsuman Chakraborty
> Sent: Saturday, April 07, 2007 4:00 AM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Re: Detect if a plugin is calling function
> 
> 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
> 
> _______________________________________________
> 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