Hooks::update_stock_after_attendee_deletion( int $attendee_id )
Backwards compatibility to update stock after deletion of Ticket.
Contents
Parameters
- $attendee_id
-
(int) (Required) the attendee id.
Source
File: src/Tickets/Commerce/Hooks.php
public function update_stock_after_attendee_deletion( $attendee_id ) {
$this->container->make( Ticket::class )->update_stock_after_attendee_deletion( $attendee_id );
}
Changelog
| Version | Description |
|---|---|
| 5.5.10 | Updated method to use the new hook from Attendee class. |
| 5.1.9 | Introduced. |