Skip to content

Commit

Permalink
Update TraitRenderable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakiboy committed Jul 23, 2024
1 parent 414f844 commit c99dc2c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/tr/TraitRenderable.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@ protected function addSubMenuPage(array $settings = [])
return Page::addSubMenu($parent, $title, $menu, $cap, $slug, $callback);
}

/**
* Remove submenu page.
*
* @access protected
* @inheritdoc
*/
protected function removeSubMenu(string $menu, string $sub)
{
return Page::removeSubMenu($menu, $sub);
}

/**
* Reset submenu first item.
*
Expand Down

0 comments on commit c99dc2c

Please sign in to comment.