Correct way to link between admin pages
-
Hi All
What is the correct way to create links with admin pages? For instance, I have written two admin pages a.php and b.php. From a.php I would like to create a link that goes to b.php. From what I can tell, the correct link should be https://mydomain.com/wp-admin/admin.php?page=foo
where foo is the name i used to register b.php as a sub-menu item. I could hardcode this link but does wordpress provide some sort of wrapper for it?
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Correct way to link between admin pages’ is closed to new replies.