class WordPressController (View source)

Handles normal WordPress requests without interfering Useful if you only want to add a middleware to a route without handling the output

Methods

ResponseInterface
handle(Request $request, string $view)

Default WordPress handler.

Details

ResponseInterface handle(Request $request, string $view)

Default WordPress handler.

Parameters

Request $request
string $view

Return Value

ResponseInterface