Closed mohamedyassin07 closed 2 years ago
I used the "setRootMenuPage" to set the parent but didn't work
and no one worked with me
I tried to set the pages create with the framework as the main page and use the normal "add_submenu_page" WordPress method to add subpages to the main page created with the framework, but it didn't work
any suggestions?
Try $this->setRootMenuPageBySlug( ... ).
$this->setRootMenuPageBySlug( ... )
setRootMenuPage
I used the "setRootMenuPage" to set the parent but didn't work
and no one worked with me
add_submenu_page
I tried to set the pages create with the framework as the main page and use the normal "add_submenu_page" WordPress method to add subpages to the main page created with the framework, but it didn't work
any suggestions?