Skip to main content
Wordpress

Restore Super Admin Privileges

By August 23, 2017No Comments

I recently deleted myself out of the network – add this bit of code to your theme’s functions.php file to add yourself back. Once your Super Admin privileges have been restored you can remove this code from your theme.

include(ABSPATH . 'wp-admin/includes/ms.php'); $user = get_userdatabylogin('YOUR_USERNAME'); grant_super_admin($user->ID);

Contact us to learn more about Adopt the Web for your business

Author Jarod Thornton

More posts by Jarod Thornton