src/Core/Application.php
public function manageAdmin(string $kernel, $request)
    {
        if (! $this->isWordPressAdmin() && ! $this->has('action')) {
            return $this;
        }

        $this['action']->add('admin_init', $this->dispatchToAdmin($kernel, $request));

        return $this;
    }
public function manageAdmin(string $kernel, $request)
    {
        if (! $this->isWordPressAdmin() && ! $this->has('action')) {
            return $this;
        }

        $this['action']->add('admin_init', $this->dispatchToAdmin($kernel, $request));

        return $this;
    }
public function manageAdmin ( string $ kernel , $ request ) { if ( ! $ this -> isWordPressAdmin ( ) && ! $ this -> has ( 'action' ) ) { return $ this ; } $ this [ 'action' ] -> add ( 'admin_init' , $ this -> dispatchToAdmin ( $ kernel , $ request ) ) ; return $ this ; }
Handle WordPress administration incoming request.
Only send response headers.

@param string                                    $kernel
@param \Symfony\Component\HttpFoundation\Request $request

@return $this;
Handle WordPress administration incoming request . Only send response headers .