@vapvarum, thanks for the response. I don’t think this will work for me. My goal is to only show (make visible) to users the BuddyPress (Who’s Online) widget who are logged in.
The online widget does not have that option.
Possible solutions are:
1. Put the widget on a page that requires the viewer to be logged in.
2. Do a little programming – create a copy of that widget and change the name and add a condition at the very beginning of the widget. For example:
if ( ! is_user_logged_in() )
return;
@jborghoff. you can use https://wordpress.org/plugins/widget-logic/ and it will allow adding conditional logic