Getting custom admin submenu item to highlight when its active
Here is a solution I just came up with which doesn’t use jQuery: There is a filter parent_file in wp-admin/menu-header.php which runs right before outputting the menu. The inline comment says: For plugins to move submenu tabs around. It is just a filter on the global variable $parent_file and I am not sure what it … Read more