Support » Plugin: Custom Profile Menu for BuddyPress » bp_core_remove_nav_item hide tab not working correctly

  • hi,

    i read 3 topics about this on support section, but i think user are right bp_core_remove_nav_item not working properly on your plguin.

    for example if i create two menus

    Menu 1: addreviews
    Menu 2: myreviews

    So far, all menu works fine and can be access in all users profile. But if i want to display only addreviews to all profiles, but hide myreviews here is my code:

    function hide_myreviews(){
    	global $bp;
    	if (!bp_is_my_profile() ) {
    		bp_core_remove_nav_item( 'myreviews' );
    add_action( 'bp_init', 'hide_myreviews');

    now myreview is hiding, good! But if i try to access addreviews, it give also 404 error page, but i didn’t remove it from nav item. i think if i remove one item, all item not accessing in your plugin and return 404. you can test your self, i tested many times with default wordpress theme… something going wrong on your plugin.

    please let me know a soon as possible how to fix or quick fix for this until you release new update?

    thanks, btw great plugin..

Viewing 1 replies (of 1 total)
  • Plugin Author Nahid Ferdous Mohit


    Hi @r123ze!
    I hope you are having a great day!

    Thank you for your query and I apologise for the terrible delay.

    That is indeed very odd and is unexpected. I’m going to test it out as soon as possible and get back to you with an update here.

    Could you link me to other topics that have a similar complaint? I ask because I cannot seem to find another.

    Thank you for your patience.

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘bp_core_remove_nav_item hide tab not working correctly’ is closed to new replies.