Skip to content

feat: display admin bar on acorn routes - #56

Open
rivanuff wants to merge 1 commit into
mainfrom
feat/acorn-route-admin-bar
Open

rivanuff wants to merge 1 commit into
mainfrom
feat/acorn-route-admin-bar

Conversation

@rivanuff

Copy link
Copy Markdown
Contributor

No description provided.

@rivanuff
rivanuff requested a review from a team as a code owner September 27, 2026 10:58
@rivanuff
rivanuff requested review from Rovasch, ShunLuk, SimonvanWijhe, dtakken, ictbeheer and mvdhoek1 and a lite review from Copilot and removed request for Copilot September 27, 2026 10:58
{
public function handle(Request $request, Closure $next): Response
{
_wp_admin_bar_init();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voor nog wat extra context, wellicht is dit een betere optie: https://github.com/yardinternet/nspoh.nl/blob/main/web/app/themes/sage/app/Middleware/WordPress.php

Nu start je alleen de admin bar op maar zou kunnen dat do_action('template_redirect'); nog meer dingen doet die handig zijn op dit punt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants