src/Page/Page.php
protected function registerRouteActions()
    {
        // Actions for page routing.
        $this->action->add('load-toplevel_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('load-admin_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('load-'.$this->findParentHook().'_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('admin_init', [$this, 'parsePostRoute']);

        $this->filter->add('admin_title', [$this, 'handleTitle']);
    }
protected function registerRouteActions()
    {
        // Actions for page routing.
        $this->action->add('load-toplevel_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('load-admin_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('load-'.$this->findParentHook().'_page_'.$this->getSlug(), [$this, 'parseGetRoute']);
        $this->action->add('admin_init', [$this, 'parsePostRoute']);

        $this->filter->add('admin_title', [$this, 'handleTitle']);
    }
protected function registerRouteActions ( ) { // Actions for page routing. $ this -> action -> add ( 'load-toplevel_page_' . $ this -> getSlug ( ) , [ $ this , 'parseGetRoute' ] ) ; $ this -> action -> add ( 'load-admin_page_' . $ this -> getSlug ( ) , [ $ this , 'parseGetRoute' ] ) ; $ this -> action -> add ( 'load-' . $ this -> findParentHook ( ) . '_page_' . $ this -> getSlug ( ) , [ $ this , 'parseGetRoute' ] ) ; $ this -> action -> add ( 'admin_init' , [ $ this , 'parsePostRoute' ] ) ; $ this -> filter -> add ( 'admin_title' , [ $ this , 'handleTitle' ] ) ; }
Register page routes actions and filters.
Register page routes actions and filters .