Site icon Hip-Hop Website Design and Development

reorder plugin menu position

Looking for a function that I can use to reorder the admin position of a 3rd party plugin, and that will still work once said plugin gets updated.

I’d like a function to simply move AIO webmaster from say position 6 to somewhere else — best would be to remove the position all together, and have it fall into default menu order!

In the meantime, I’m hacking the AIO webmaster code from:

public function aiow_premium_menupage() {
    add_menu_page ( 'All in One Webmaster', 'AIO Webmaster', 'manage_options', 'aiow-premium', 'all_in_one_premium_webmaster_webmaster_page', plugins_url ( 'all-in-one-webmaster/images/favicon.ico' ), 6);

and removing the 6 position

public function aiow_premium_menupage() {
    add_menu_page ( 'All in One Webmaster', 'AIO Webmaster', 'manage_options', 'aiow-premium', 'all_in_one_premium_webmaster_webmaster_page', plugins_url ( 'all-in-one-webmaster/images/favicon.ico' ), 6);

..obviously, this only lasts until the plugin gets updated.

Any overriding function ideas to make that change stick?