SLB: Notes – Admin: Page URI

By Sol in Lab

Details

URI Structures

  • Default: admin.php?page=page-name
  • WP Page: [pagename].php
    • [pagename] = WP Page filename (themes.php, nav-menus.php, etc.)
  • Custom Submenu (of WP Page): pagename.php?page=page-name

WP URI Building Methodology

  1. Action: admin_menu
    • File: wp-admin/includes/menu.php
    • Fired before admin_init action