tribe_get_hybrid_event_label_singular()

Get hybrid event label singular.

Returns the singular version of the Event Label.

Note: the output of this function is not escaped. You should escape it wherever you use it!


Return #

(string) The singular version of the Event Label.


Top ↑

Source #

File: src/functions/template-tags/general.php

function tribe_get_hybrid_event_label_singular() {
	$label = sprintf(
		_x(
			'%1$s %2$s',
			'Capitalized "hybrid" term, capitalized singular event term.',
			'events-virtual'
		),
		tribe_get_hybrid_label(),
		tribe_get_event_label_singular()
	);

	/**
	 * Allows customization of the singular version of the Hybrid Event Label.
	 *
	 * Note: the output of this filter is not escaped!
	 *
	 * @param string $label The singular version of the Hybrid Event label,
	 *                      defaults to "Hybrid Event"
	 *                      (or the filtered term for "Hybrid" + the filtered term for "Event").
	 *
	 * @see tribe_get_event_label_plural
	 */
	return apply_filters( 'tribe_hybrid_event_label_singular', $label );
}

Top ↑

Changelog #

Changelog
Version Description
1.4.0 Introduced.