Hide_Recurring_Events_Toggle

Class Hide_Recurring_Events_Toggle


Source #

File: src/Tribe/Views/V2/Views/Partials/Hide_Recurring_Events_Toggle.php

class Hide_Recurring_Events_Toggle {
	/**
	 * Renders the "Hide recurring events" toggle in the View.
	 *
	 * @since  4.7.5
	 *
	 * @param \Tribe__Template $template Current instance of the `Tribe__Template` that's being rendered.
	 *
	 * @return string The rendered partial HTML code.
	 */
	public function render( $template ) {
		return $template->template( 'recurrence/hide-recurring' );
	}
}

Top ↑

Changelog #

Changelog
Version Description
4.7.5 Introduced.

Top ↑

Methods #

  • render — Renders the "Hide recurring events" toggle in the View.