BP_Core_Follow_Follower_Widget::set_display_user( $id )
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages.
Description
Source
File: bp-core/classes/class-bp-core-follow-follower-widget.php
public function set_display_user( $id ) {
if ( ! $id ) {
$id = bp_loggedin_user_id();
}
return $id;
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.2.5 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.