diff --git a/Herbert/Framework/Panel.php b/Herbert/Framework/Panel.php index 45a1a17..e735684 100644 --- a/Herbert/Framework/Panel.php +++ b/Herbert/Framework/Panel.php @@ -209,7 +209,8 @@ protected function addPanel($panel) 'manage_options', $panel['slug'], $this->makeCallable($panel), - isset($panel['icon']) ? $this->fetchIcon($panel['icon']) : '' + isset($panel['icon']) ? $this->fetchIcon($panel['icon']) : '', + isset($panel['order']) ? $panel['order'] : null ); if (isset($panel['rename']) && !empty($panel['rename']))