eo_delete_venue_meta
since 1.5.0
eo_delete_venue_meta( $venue_id, $key, $value = '', $delete_all = false )
Remove metadata matching criteria from a venue.
You can match based on the key, or key and value. Removing based on key and
value, will keep from removing duplicate metadata with the same key. It also
allows removing all metadata matching key, if needed.
Parameters
int
|
$venue_id |
Venue (term) ID.
|
string
|
$key |
Metadata name.
|
mixed
|
$value = '' |
Optional. Metadata value.
|
|
$delete_all = false |
|
Return value
bool
|
False for failure. True for success.
|
Changelog
Resources