Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add a View BuddyPress profile link in wp-admin users

  • @nuprn1

    Participant

    bbPress has a hover link to view a member profile page from the bb-admin users section. I somewhat miss that little feature in WordPress + BuddyPress 1.2 so just a quick code snippet to add the link:

    function user_row_actions_bp_view($actions, $user_object) {
    global $bp;
    $actions['view'] = '<a href="' . bp_core_get_user_domain($user_object->ID) . '">' . __('View BP') . '</a>';
    return $actions;
    }
    add_filter('user_row_actions', 'user_row_actions_bp_view', 10, 2);

    not sure if this was covered before as search didn’t turn up much – but I find it useful on the wp-admin side when searching on users (only tested on Single WP)

  • The topic ‘Add a View BuddyPress profile link in wp-admin users’ is closed to new replies.
Skip to toolbar