public function addModelRoutes($routes = array())
    {
        if (!$this->isRegistered()) {
            $this->registerWordpressAction();
        }

        $this->route->addModelPossibilities($routes);
    }
public function addModelRoutes($routes = array())
    {
        if (!$this->isRegistered()) {
            $this->registerWordpressAction();
        }

        $this->route->addModelPossibilities($routes);
    }
public function addModelRoutes ( $ routes = array ( ) ) { if ( ! $ this -> isRegistered ( ) ) { $ this -> registerWordpressAction ( ) ; } $ this -> route -> addModelPossibilities ( $ routes ) ; }
Adds customized routes to the router instance that
have been defined in the custom post type's routing information.
@param array $routes
Adds customized routes to the router instance that have been defined in the custom post type s routing information .