Closed swissspidy closed 9 years ago
The current implementation uses add_menu_page
and add_submenu_page
for elements that were moved from top to sub or vice-versa. This lets WordPress do the rest. However, it forces me to re-add various hooks, currently:
$hook
admin_print_styles-$hook
admin_print_scripts-$hook
Where $hook
is the get_plugin_page_hookname()
of the old menu item.
But there are probably many other hooks that exist for a menu page, so this is not bulletproof.
Probably quite safe now after 8c3c4567cfe15dd2f84ea64141f4ecfa59c76f03. Let's close this for now...
Scenario: