Site icon Hip-Hop Website Design and Development

Add a job and provides admin priviledges

I’m making a Tremendous Admin position in wordpress Roles.

$capabilities=array();
add_role('Administrator', 'Administrator', $capabilities ); 
add_role('Tremendous Admin', 'Tremendous Admin', $capabilities) ); 

So whereas including a brand new person I bought the Function Possibility Tremendous Admin.
So I added a Tremendous Consumer .

Now After I login to wp-admin It offers me error saying:

you would not have adequate permissions to entry this web page.

What extra I’ve to do to make it work. I dont need to use any pluggin.

I attempted this too

add_role('Tremendous Admin', 'Tremendous Admin', 
array("manage_network","manage_sites","manage_network_users",
"manage_network_plugins","manage_network_themes","manage_network_options",
"learn") ); 

and

  add_role('Tremendous Admin', 'Tremendous Admin', array("manage_network"=>true,"manage_sites"=>true,
"manage_network_users"=>true,"manage_network_plugins"=>true,
"manage_network_themes"=>true,"manage_network_options"=>true,"learn"=>true) );

I would like this person to entry all stuff in wp-admin panel