[wp-hackers] Checking if a plugin exists
Frank Bueltge
frank at bueltge.de
Sun Jul 25 19:45:42 UTC 2010
Thanks for the link to my post ;)
also a great solution is the core fucntion:
http://codex.wordpress.org/Function_Reference/is_plugin_active
On Sun, Jul 25, 2010 at 9:42 PM, Ashish Saini
<ashishsainiashfame at gmail.com>wrote:
> Try this http://wpengineer.com/check-if-required-plugin-is-active/
>
> Thanks & Regards
> Ashish Saini aka Ashfame
> (Deserve Before You Desire)
> Homepage : http://www.ashfame.com | Blog : http://blog.ashfame.com |
> Twitter
> : http://twitter.com/ashfame
>
>
> On Mon, Jul 26, 2010 at 1:01 AM, Christopher Ross <cross at thisismyurl.com
> >wrote:
>
> > I'm trying to test is a plugin exists before calling a second plugin, but
> > with little luck. Any suggestion would be great.
> >
> > What I'm doing is .... if(function_exists('stats_get_api_key')) { ...
> some
> > code ...;} but it's not returning a positive despite being installed. Is
> > there a better way to do it?
> >
> > c.
> >
> > __
> >
> > Christopher Ross
> >
> > Toronto 1 (416) 840-5828
> > Fredericton 1 (506) 474-2708
> > New Orleans 1 (504) 322 3485
> >
> > http://christopherross.ca
> > http://www.thisismyurl.com
> >
> > _______________________________________________
> > 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