Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove Avatar Title

  • @autoarcheologist

    Participant

    Hello,

    We have some custom functionality set up so usernames are hidden unless you are logged in. But if you hover over a user’s Avatar you can see their name.

    Which file controls this so I can shut off the Avatar title?

    Thanks!
    Ian

Viewing 3 replies - 1 through 3 (of 3 total)
  • @jaredatch

    Member

    add_filter( 'bbp_before_get_reply_author_link_parse_args', 'ja_reply_avatar_title' );
    function ja_reply_avatar_title( $args ) {
    $args['link_title'] = 'Avatar';
    return $args;
    }

    This only takes care of the replies, you will likely need to apply this same concept to other places in the theme.

    @autoarcheologist

    Participant

    Thanks jaredatch, I’ll give it a try, but was hoping for something that was more universal to shut it off in all places.

    @jaredatch

    Member

    Yeah unfortunately there is no global filter for that. The code above is pretty much what you will need to do on all instances, but you just need to track down the other filters.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar