class Event_Rsvp_Data_AccessLow-level CRUD for the event RSVP table.
class final
- Full name
Kernowdev\Clanbite\Events\Event_Rsvp_Data_Access
Constants
| Name | Value | Description |
|---|---|---|
STATUS_ACCEPTED | 'accepted' | Supported RSVP statuses. |
STATUS_DECLINED | 'declined' | |
STATUS_TENTATIVE | 'tentative' |
Methods
get_attendee_rows()List attendee rows (user id + RSVP status) for an event.get_attendee_user_ids()List attendees (user IDs) for an event, optionally filtered by status.get_user_rsvp()Get the current RSVP for a user+event.sanitize_status()Normalize an RSVP status.set_user_rsvp()Upsert an RSVP for a user+event.
Defined in inc/events/class-event-rsvp-data-access.php