Find Positions For WP Admin Menu Items

This finds the positions for the items on the WordPress admin menu. Use this function TEMPORARILY in your functions.php. It will display the array of arrays which make up the WP dashboard menu.

add_action('admin_init','isa_dump_admin_menu');
function isa_dump_admin_menu() {
  if (is_admin()) {
    header('Content-Type:text/plain');
    var_dump($GLOBALS['menu']);
    exit;
  }
}

See more: ,

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]