Function __global->set_invisibility
Definitions
sources/users_active_actions.php
- Set invisibility on the current user.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $make_invisible | boolean | No | No | True | N/A | N/A | Whether to make the current user invisible (true=make invisible, false=make visible) |
Preview
Code (PHP)
/**
* Set invisibility on the current user.
*
* @param boolean $make_invisible Whether to make the current user invisible (true=make invisible, false=make visible)
*/
function set_invisibility(bool $make_invisible = true)
* Set invisibility on the current user.
*
* @param boolean $make_invisible Whether to make the current user invisible (true=make invisible, false=make visible)
*/
function set_invisibility(bool $make_invisible = true)
