method( DashboardScriptsController::class, 'enqueue' ) ); // The dashboard renders its own header bar, but the standard admin // header must still exist (hidden) in the document — the unified // shell can swap this page to a list client-side, and lists show it. $this->withHeader( [ 'breadcrumbs' => [ [ 'title' => __( 'Dashboard', 'surecart' ) ], ], 'hidden' => true, ] ); // return view. return '
'; } }