Template_Modifications::render_share_rsvp_controls( TribeEventsVirtualCompatibilityEvent_TicketsWP_Post $event = null, boolean $echo = true )

Render the virtual event share controls.


Parameters

$event

(TribeEventsVirtualCompatibilityEvent_TicketsWP_Post) (Optional) The event post we are editing.

Default value: null

$echo

(boolean) (Optional) To echo or not to echo, that is the question.

Default value: true


Top ↑

Return

(string|false) Either the final content HTML or false if no template could be found.


Top ↑

Source

File: src/Tribe/Compatibility/Event_Tickets/Template_Modifications.php

	public function render_share_rsvp_controls( $event = null, $echo = true ) {
		$event = tribe_get_event( $event );

		return $this->template->template(
			'virtual-metabox/container/compatibility/event-tickets/share',
			[
				'post'       => $event,
				'metabox_id' => Metabox::$id,
			],
			$echo
		);
	}

Top ↑

Changelog

Changelog
Version Description
1.0.4 Introduced.