Bug: You need to wrap is_woocommerce_active()
-
Beginning at line 45 you need to wrap is_woocommerce_active to make sure it hasn’t already been defined by another plug-in:
if (!function_exists (‘is_woocommerce_active’)){
function is_woocommerce_active()
{
return in_array( ‘woocommerce/woocommerce.php’, apply_filters( ‘active_plugins’, get_option( ‘active_plugins’ ) ) ) || is_plugin_active_for_network(‘woocommerce/woocommerce.php’);
}
}
- The topic ‘Bug: You need to wrap is_woocommerce_active()’ is closed to new replies.