public function register_types()
 {
     $hook_manager = new Hook_Manager();
     $hook_manager->register_posts($this->post_types);
     $hook_manager->register_shortcodes($this->shortcodes);
     $hook_manager->register_widgets($this->widgets);
 }
 private function register_types()
 {
     $hook_manager = new Hook_Manager();
     $hook_manager->register_posts($this->post_types);
     $hook_manager->register_shortcodes($this->shortcodes);
     $hook_manager->register_metaboxes($this->metaboxes);
     add_action('add_meta_boxes', 'webinar_add_registrants_metabox');
     add_action('add_meta_boxes', 'training_add_registrants_metabox');
 }