detect if plugin activated

in Download Manager Free

Viewing 2 posts - 1 through 2 (of 2 total)
Apr 21, 2015 at 6:45 pm
#28388
Member
danstorm
OP

Hi,
We are you using a custom stylesheet for some of the elements in wpdm to better match our theme. I only want to load the stylesheet on sites in the network that have the plugin activated. I would typically use class_exists to accomplish this but I can’t find a class declaration in wpdm Is there one? If not, what do you recommend for testing whether the plugin is activated or not. function_exists?

Thanks,
Dan

Apr 22, 2015 at 6:47 am
#28429
Member
Tauhid

You have to use if(defined('WPDM_Version')). Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic "detect if plugin activated" is closed to new replies.