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

David Coppit david at coppit.org
Fri Apr 6 18:34:19 GMT 2007


On Fri, 6 Apr 2007, Alex Günsche 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


More information about the wp-hackers mailing list