public function _replyToRemoveRootMenuPage() { if (!$this->oFactory->oProp->aRootMenu['fCreateRoot']) { return; } remove_submenu_page($this->oFactory->oProp->aRootMenu['sPageSlug'], $this->oFactory->oProp->aRootMenu['sPageSlug']); }