apply_filters( 'tribe_organizers_rest_organizer_delete', int|bool $deleted , WP_REST_Request $request )
Filters the organizer delete operation.
Contents
Returning a non null value here will override the default trashing operation.
Parameters
- $deleted
-
(int|bool) Whether the organizer was successfully deleted or not.
- $request
-
(WP_REST_Request) The original API request.
Source
Changelog
| Version | Description |
|---|---|
| 4.6 | Introduced. |