if class_exists for Ajax Search plugin
-
Hello
Just as WooCommerce allows his detection to check if woocommerce is activated in theme with the function
” if ( class_exists( ‘WooCommerce’ ) ) “Is there a similar function for the Ajax Search plugin?
i mean to avoid using the “if( is_plugin_active )”
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.