[Plugin: Google Plus] hide from dashboard role capabilities
-
tx for this plugin it work fine just one things
the admin apears for every user
if you want this hide and just u can see it in the dashboard you have to
add this code in /google-plus-google/includes/hook.php line 33 in the gp_admin_menu() function :function gp_admin_menu() { if ( !current_user_can( 'manage_options' ) ) return; add_menu_page('GP Dashboard', 'GP Dashboard', 0, 'gp_dashboard', 'gp_dashboard', GP_URL . '/img/admin-menu.png', 1); add_submenu_page('gp_dashboard', 'GP One', 'GP One', 0, 'gp_one', 'gp_one_settings'); }
best regards
Amba
- The topic ‘[Plugin: Google Plus] hide from dashboard role capabilities’ is closed to new replies.