What is the callback sent to add_submenu_page() invoked by WordPress?
It must be pretty late in the action order because I’ve tried hooking to admin_notices from it and it doesn’t work. $function callback (param of add_submenu_page) is used to output the content of admin pages, so it runs when WordPress is actually displaying the markup (body) of page. That should be pretty clear because you … Read more