Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I customize this on Admin bar

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp


    luckskywalker
    Participant

    @luckskywalker

    Thanks for helping me, but don’t work, I don’t know if I do this right, look:

    <li id="wp-admin-bar-cb-points" class="menupop"> ...

    Then:

    function bp_admin_bar_remove() {
      global $wp_admin_bar;
    
      $wp_admin_bar->remove_menu( 'cb-points' );	
    
    }
    add_action( 'bp_setup_admin_bar', 'bp_admin_bar_remove', 301 );

    luckskywalker
    Participant

    @luckskywalker

    I got now, thanks.


    @mercime
    Participant

    @mercime

    @shanebp thank you for submitting your article! I have updated the link you posted above to the new home under BP Plugin Development 🙂 Surrounded your code with [php] [/php] . Looks nicer, no? 😀


    @luckskywalker
    thanks for posting sucess with code. Marking this topic as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I customize this on Admin bar’ is closed to new replies.
Skip to toolbar