%s

', esc_html__( 'Helpora could not start: its autoloader is missing. Run "composer install" in the plugin directory, or install the packaged release instead of a source checkout.', 'helpora' ) ); } ); return; } require_once HELPORA_PATH . 'vendor/autoload.php'; /** * Guard the environment before anything else registers. * * `Requirements` is deliberately the only class touched on an unsupported host: * it uses no syntax newer than the minimum it enforces, so the check itself can * never be the thing that fatals. */ if ( ! \Helpora\Requirements::check() ) { return; } register_activation_hook( __FILE__, array( \Helpora\Activator::class, 'activate' ) ); register_deactivation_hook( __FILE__, array( \Helpora\Deactivator::class, 'deactivate' ) ); add_action( 'plugins_loaded', static function (): void { \Helpora\Plugin::instance()->boot(); } );