How to check if plugin is active
-
Hello,
I need to check if this plugin is active or not. A good idea is to check plugin viaclass_exists()
function, but what is the name of main class of this plugin?
For example, in Woocommerce I use:if ( class_exists( 'woocommerce' ) ) {}
.
Thank you
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to check if plugin is active’ is closed to new replies.