Example #1
0
 /**
  * Instantiate the template class, preparing a view file for use. If no name is passed, defaults to the class for the current view
  *
  * @param bool|string $class Classname you want to instantiate
  *
  * @return void
  * @uses TribeEventsTemplates::instantiate_template_class()
  **/
 function tribe_initialize_view($class = false)
 {
     do_action('tribe_pre_initialize_view');
     TribeEventsTemplates::instantiate_template_class($class);
 }