Suggested Multisite Feature – Restrict to SuperAdmin Only
-
I have limited access to the plugin on Multisite installations so that only the SuperAdmin has access using the following code that may be placed in the theme functions.php or in my case, my own custom multisite plugin.
// allow only SuperAdmin access to All In One WP Security & Firewall add_action( 'admin_menu', function() { if ( !is_super_admin()) remove_menu_page( 'aiowpsec' ); } );
A suggested feature addition is to recognize when the plugin is on a multisite installation and if detected, provide on the Settings page a checkbox on the main site to limit subsite access to the SuperAdmin only. When selected, the action above would be performed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Suggested Multisite Feature – Restrict to SuperAdmin Only’ is closed to new replies.