diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index 09f6727..980bae3 100644 --- a/woocommerce-event-press.php +++ b/woocommerce-event-press.php @@ -17,6 +17,7 @@ if (!defined('ABSPATH')) { } // Cannot access pages directly. + include_once(ABSPATH . 'wp-admin/includes/plugin.php'); if (is_plugin_active('woocommerce/woocommerce.php')) { function appsero_init_tracker_mage_eventpress()