[wp-hackers] Checking if a plugin exists

Christopher Ross cross at thisismyurl.com
Sun Jul 25 19:31:35 UTC 2010


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



More information about the wp-hackers mailing list