[wp-hackers] Checking if a plugin exists

Christopher Ross cross at thisismyurl.com
Sun Jul 25 19:46:02 UTC 2010


Thanks!


On 2010-07-25, at 4:44 PM, Ashish Saini wrote:

> Even better a WordPress function - *is_plugin_active()*
> 
> <?php
> if (is_plugin_active('plugin-directory/plugin-file.php')) {
>    //plugin is activated
> }
> ?>
> 
> 
> 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
> 


__

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