Function __global->member_is_online
Definitions
sources/users2.php
- Find if a member is online.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The member to check |
Returns
- Whether they are online
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if a member is online.
*
* @param MEMBER $member_id The member to check
* @return boolean Whether they are online
*/
function member_is_online(int $member_id) : bool
* Find if a member is online.
*
* @param MEMBER $member_id The member to check
* @return boolean Whether they are online
*/
function member_is_online(int $member_id) : bool

