' . esc_html__( 'Quotanto needs WooCommerce to be active.', 'quotanto' ) . '

'; } ); return; } foreach ( array( 'settings', 'statuses', 'lifecycle', 'emails', 'request-form', 'captcha', 'quote', 'catalog', 'account', 'abilities', 'plugin' ) as $file ) { require_once QUOTANTO_DIR . "includes/class-quotanto-{$file}.php"; } Quotanto_Plugin::init(); } ); // Leave nothing running when the plugin is switched off. Quotes and settings stay. register_deactivation_hook( __FILE__, static function (): void { if ( function_exists( 'as_unschedule_all_actions' ) ) { as_unschedule_all_actions( 'quotanto_expire_quotes', array(), 'quotanto' ); } delete_option( 'quotanto_version' ); } );