I have this working fine with in my plugin’s main file:
add_action(‘admin_menu’, ‘wp_initAdminMenus’).
In wp_initAdminMenus, it reorganizes and manipulates $menu as needed. Works great. But on occasion, after the plugin is loaded and before one of my admin files is done executing, I need to rebuild $menu again. Unfortunately it appears to already be set in stone by this point. I was looking for another add_action or add_filter that would give me access to it but no luck.
Any ideas?
The topic ‘Rebuild admin menus during plugin execution’ is closed to new replies.