Knowledgebase
Remove ”Visit” from the admin bar
Posted by on 22 August 2012 11:24 AM

You can remove the Visit random user/group by removing the links in the bp-core-adminbar.php file.

 

Insert the following code in function.php file

 

remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );

 

Note: bp-custom.php is loaded before the adminbar – so place the remove_action in your theme’s function.php file

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).