/** * As the component this page belongs to for a URL matching the provided * page and query string parameters. This method should always be used for * generating URLs in your components so that it will play nicely with * various WP integration points like submenus. * * @param string $page * @param array $params * @return string */ public function url($page, array $params = array()) { return $this->component->url($page, $params); }