tribe_get_virtual_event_label_plural()
Get virtual event label plural.
Returns the plural version of the Event Label.
Note: the output of this function is not escaped. You should escape it wherever you use it!
Return
(string)
Source
File: src/functions/template-tags/general.php
function tribe_get_virtual_event_label_plural() { $label = sprintf( _x( '%1$s %2$s', 'Capitalized "virtual" term, capitalized plural event term.', 'events-virtual' ), tribe_get_virtual_label(), tribe_get_event_label_plural() ); /** * Allows customization of the plural version of the Virtual Event Label. * * Note: the output of this filter is not escaped! * * @param string $label The plural version of the Virtual Event label, * defaults to "Virtual Events" * (or the filtered term for "Virtual" + the filtered term for "Events"). * * @see tribe_get_event_label_plural */ return apply_filters( 'tribe_virtual_event_label_plural', $label ); }
Changelog
Version | Description |
---|---|
1.0.4 | Implemented use of tribe_get_virtual_label() in pre-filter translation. |
1.0.0 | Introduced. |