do_action( 'clanbite_event_rsvp_updated', string $event_type, int $event_id, int $user_id, string $new_status, string|null $old_status )Fires when a user's RSVP changes for an event.
Third-party extensions can hook this (e.g. activity feeds).
Action PHP
Parameters
$event_type(string)Event type slug.
$event_id(int)Event ID.
$user_id(int)User ID.
$new_status(string)New RSVP status.
$old_status(string|null)Old RSVP status (null when first set).
Example
add_action( 'clanbite_event_rsvp_updated', function ( $event_type, $event_id, $user_id, $new_status, $old_status ) {
// Run your code.
}, 10, 5 );Defined in inc/events/class-event-rsvp-data-access.php