Tribe__Events__Admin__Event_Meta_Box::get_extract_vars( WP_Post|int|null $event )

Exposes all the variables used in this instance, in a way that it’s usable to extract to be used by a template/view


Parameters

$event

(WP_Post|int|null) (Required) What Post we are dealing with


Top ↑

Return

(array)


Top ↑

Source

File: src/Tribe/Admin/Event_Meta_Box.php

	public function get_extract_vars( $event ) {
		$this->get_event( $event );
		$this->setup_data();

		$variables          = $this->vars;
		$variables['event'] = $this->event;

		return $variables;
	}