/**
  * Returns the instance.
  *
  * @since  1.0.0
  * @return object
  */
 public static function get_instance()
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 /**
  * Include required API files
  *
  * @since  1.0.0
  * @since  1.1.1 Using dirname( __FILE__ ) instead of __DIR__.
  * @return void
  */
 public function includes()
 {
     require_once dirname(__FILE__) . '/inc/class-cherry-facebook-embed.php';
     // Register Facebook Embed.
     if (class_exists('Cherry_Facebook_Embed')) {
         Cherry_Facebook_Embed::get_instance();
     }
 }
 /**
  * Include required API files
  *
  * @since  1.0.0
  * @return void
  */
 public function includes()
 {
     $based_dir = $this->core->get_core_dir() . 'modules/' . $this->module_slug;
     require_once $based_dir . '/inc/class-cherry-facebook-embed.php';
     // Register Facebook Embed.
     if (class_exists('Cherry_Facebook_Embed')) {
         Cherry_Facebook_Embed::get_instance();
     }
 }