hide them menu items
This commit is contained in:
commit
ad62097fc4
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
//* Remove Menu Links
|
||||
function plugin_controls_remove_menus() {
|
||||
remove_menu_page( 'plugins.php' );
|
||||
remove_menu_page( 'update-core.php' );
|
||||
}
|
||||
add_action( 'admin_menu', 'plugin_controls_remove_menus' );
|
||||
|
||||
//TODO make plugins only accessible with token
|
Loading…
Reference in New Issue