예제 #1
0
 /**
  * Delete an Organizer
  *
  * @param int $postId ID of the Organizer to be deleted.
  * @param bool $force_delete Whether to bypass trash and force deletion. Defaults to false.
  * @return bool false if delete failed.
  * @link http://codex.wordpress.org/Function_Reference/wp_delete_post
  * @see wp_delete_post()
  * @category Organizer Functions
  * @since 2.0.1
  */
 function tribe_delete_organizer($postId, $force_delete = false)
 {
     $success = TribeEventsAPI::deleteOrganizer($postId, $args);
     return $success;
 }