$vars Values the template reads as $vars. * @return void */ public static function render( string $name, array $vars = array() ): void { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter -- Templates read $vars. $file = AGENTWELCOME_PATH . 'src/Admin/views/' . $name . '.php'; if ( is_readable( $file ) ) { include $file; } } }