Tribe__Tickets__Repositories__Attendee__RSVP::trigger_update_actions( array $attendee_data )
Handle backwards compatible update actions for RSVPs.
Contents
Parameters
- $attendee_data
-
(array) (Required) List of attendee data to be saved.
Source
File: src/Tribe/Repositories/Attendee/RSVP.php
public function trigger_update_actions( $attendee_data ) {
parent::trigger_update_actions( $attendee_data );
$attendee_id = (int) Arr::get( $attendee_data, 'attendee_id' );
$post_id = (int) Arr::get( $attendee_data, 'post_id' );
$attendee_status = Arr::get( $attendee_data, 'attendee_status' );
/**
* An Action fired when an RSVP is updated.
*
* @since 4.11.0
*
* @param int $attendee_id The attendee ID.
* @param int $post_id The event/post ID.
* @param string $attendee_status The status of the attendee, either yes or no.
*/
do_action( 'event_tickets_rsvp_after_attendee_update', $attendee_id, $post_id, $attendee_status );
}
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |