*/ class AOC_WC_Activator { /** * Short Description. (use period) * * Long Description. * * @since 1.0.0 */ public static function activate() { if ( ! function_exists( 'is_woocommerce_active' ) ) { require_once( 'woo-includes/woo-functions.php' ); } if ( ! is_callable( 'is_woocommerce_active' ) || false === is_woocommerce_active() ) { add_action( 'admin_notices', array( self, 'woocommerce_not_active_notice' ) ); } } public static function woocommerce_not_active_notice() { ?>