function woo_ce_detect_non_woo_install() { if (!woo_is_woo_activated() && (woo_is_jigo_activated() || woo_is_wpsc_activated())) { $troubleshooting_url = 'http://www.visser.com.au/documentation/store-exporter-deluxe/usage/'; $message = __('We have detected another e-Commerce Plugin than WooCommerce activated, please check that you are using Store Exporter Deluxe for the correct platform.', 'woo_ce') . '<a href="' . $troubleshooting_url . '" target="_blank">' . __('Need help?', 'woo_ce') . '</a>'; woo_ce_admin_notice($message, 'error', 'plugins.php'); } woo_ce_plugin_page_notices(); }
function woo_ce_detect_non_woo_install() { $troubleshooting_url = 'http://www.visser.com.au/documentation/store-exporter/usage/'; if (!woo_is_woo_activated() && (woo_is_jigo_activated() || woo_is_wpsc_activated())) { $message = sprintf(__('We have detected another e-Commerce Plugin than WooCommerce activated, please check that you are using Store Exporter for the correct platform. <a href="%s" target="_blank">Need help?</a>', 'woo_ce'), $troubleshooting_url); woo_ce_admin_notice($message, 'error', 'plugins.php'); } else { if (!woo_is_woo_activated()) { $message = sprintf(__('We have been unable to detect the WooCommerce Plugin activated on this WordPress site, please check that you are using Store Exporter for the correct platform. <a href="%s" target="_blank">Need help?</a>', 'woo_ce'), $troubleshooting_url); woo_ce_admin_notice($message, 'error', 'plugins.php'); } } woo_ce_plugin_page_notices(); }