events_can_view_group_as_event( bool $can, string $event_type, int $event_id, int $viewer_id ): boolAllow Social Kit groups to participate in core events/RSVP visibility checks.
This makes it possible for third-party UIs to treat cp_group objects as an event_type=group in the generic RSVP system.
public
Class: Kernowdev\ClanbiteSocialKit\Extension\Social_Kit
Parameters
$can(bool) RequiredWhether viewer can see the event.
$event_type(string) RequiredEvent type slug.
$event_id(int) RequiredEvent ID.
$viewer_id(int) RequiredViewer ID (0 for anon).
Returns
bool
Defined in inc/Extension/Social_Kit.php