apply_filters( 'mc_user_can_see_private_events', $can_see, $event ) → {bool}
Filter whether an event is visible to the current user.
Parameters:
Name | Type | Description |
---|---|---|
$can_see |
bool | 'true' if the event should be shown. |
$event |
object | Event object. |
- Source:
Returns:
- Type
- bool