apply_filters( 'tribe_organizers_rest_organizer_delete', int|bool $deleted, WP_REST_Request $request )

Filters the organizer delete operation.

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.


Top ↑

Source

File: src/Tribe/REST/V1/Endpoints/Single_Organizer.php


Top ↑

Changelog

Changelog
Version Description
4.6 Introduced.