コード例 #1
0
ファイル: venue.php プロジェクト: estrategasdigitales/Golone
 /**
  * Delete a Venue
  *
  * @param int $postId ID of the Venue 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 Venue Functions
  */
 function tribe_delete_venue($postId, $force_delete = false)
 {
     $success = TribeEventsAPI::deleteVenue($postId, $args);
     return $success;
 }