tribe_delete_organizer( int $postId, bool $force_delete = false )

Delete an Organizer

See also #


Top ↑

Parameters #

$postId

(int) (Required) ID of the Organizer to be deleted.

$force_delete

(bool) (Optional) Whether to bypass trash and force deletion. Defaults to false.

Default value: false


Top ↑

Return #

(bool) false if delete failed.


Top ↑

Source #

File: src/functions/advanced-functions/organizer.php

	function tribe_delete_organizer( $postId, $force_delete = false ) {
		$success = Tribe__Events__API::deleteOrganizer( $postId, $args );

		return $success;
	}