public function editMenu($id, $name) { $changes = ["nav_menu", $id, "name" => $name]; $this->runWpCliCommand("term", "update", $changes); }