Check if plugin is active
-
Hello,
I need to check if this plugin is active or not. A very good practise 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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Check if plugin is active’ is closed to new replies.