/**
  * Add counts to "At a Glance" dashboard widget in WP 3.8+
  *
  * @since 0.1.0
  */
 public function add_glance_counts()
 {
     $glancer = new Dashboard_Glancer();
     $glancer->add($this->registration_handler->post_type, array('publish', 'pending'));
 }
 /**
  * Add counts to "At a Glance" dashboard widget in WP 3.8+
  *
  * @since 0.1.0
  */
 public function add_glance_counts()
 {
     if (!class_exists('Dashboard_Glancer')) {
         require_once 'class-dashboard_glancer.php';
     }
     $glancer = new Dashboard_Glancer();
     $glancer->add($this->post_type, array('publish', 'pending'));
 }