eventorganiser_register_taxonomy_event-venue
(filter)
Filters the event venue taxonomy properties.
Allows you to change the properties and labels of the event venue taxonomy. You can
return false
to prevent the taxonomy from registering. All labels include those
supported by register_taxonomy()
, as well as additional strings:
- venue_location - Venue location metabox title
- view_all_items - Used in drop-down filters for venues
- singular_name_colon - Same as singular_name but with a colon.
- no_item - Venue selection, when opting no to select a venue for the event.
Parameters
array|bool
|
$event_venue_args |
Settings passed to register_taxonomy() in the third argument. Does not register the taxonomy if set to false.
|
Example Usage
add_filter( 'eventorganiser_register_taxonomy_event-venue', 'my_callback_function', 10, 1 );
function my_callback_function( $event_venue_args ){
//Change first value and return it
return $event_venue_args
};