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
Contents
Parameters
- $event
-
(WP_Post|int|null) (Required) What Post we are dealing with
Return
(array)
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;
}