are_satisfied() ) { require_once 'vendor/autoload.php'; require_once 'dependencies.php'; $plugin = new TwoFAS\TwoFAS\Core\Plugin( $twofas_container['route'], $twofas_container['hook_handler'], $twofas_container['updater'], $twofas_container['plugin_checker'] ); $plugin->run(); } else { $is_admin = current_user_can( 'manage_options' ); if ( ! $is_admin ) { return; } foreach ( $requirements->get_not_satisfied() as $message ) { add_action( 'admin_notices', function () use ( $message ) { echo '

' . $message . '

'; } ); } }