Browse Source

gf capabilities

windhamdavid 5 months ago
parent
commit
40e3d12a87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -277,7 +277,7 @@ add_action( 'admin_menu', 'gwp24_remove_admin_pages', 99 );
 function gwp24_remove_admin_pages() {
 function gwp24_remove_admin_pages() {
   global $current_user;
   global $current_user;
   $user_id = get_current_user_id();
   $user_id = get_current_user_id();
-  if($user_id != '0') {
+  if($user_id != '1') {
   	remove_menu_page('plugins.php');
   	remove_menu_page('plugins.php');
     remove_menu_page('tools.php');
     remove_menu_page('tools.php');
     remove_menu_page('options-general.php');
     remove_menu_page('options-general.php');