eo_delete_venue
since 1.4.0
eo_delete_venue( $venue_id )
Deletes a venue in the database.
Calls wp_delete_term() to delete the taxonomy term
Deletes all the venue's meta
Parameters
int
|
$venue_id |
the Term ID of the venue to update
|
Return value
bool|\WP_Error
|
false or error on failure. True after sucessfully deleting the venue and its meta data.
|
Hooks
Changelog