detect if plugin activated

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

danstorm
Member

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

#28429

Tauhid
Member

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.