[wp-hackers] How to tell if a plugin is active?

Dr Tarique Sani tarique at sanisoft.com
Wed Jun 30 10:42:59 UTC 2004


Ian Barton wrote:

> Is it possible to tell if a plugin is currently active, so that I can 
> write code like:
>
> if (MyPluginActive)
>   <?php myplugin_function?>
> else
>  print "Plugin MyPluginnot active"
>
if (|function_exists(|myplugin_function|))

Wont this suffice?

Tarique
|

-- 
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                               /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================





More information about the hackers mailing list