/**
  * Initialize ourselves - adds actions/filters
  *
  * @since 1.0.0
  *
  * @param null
  * @return null
  */
 public function init()
 {
     // Set the plugin path as where this file resides
     self::$plugin_path = trailingslashit(dirname(__FILE__));
     // And the URL
     self::$plugin_url = trailingslashit(plugins_url('', __FILE__));
     // Set up our filters
     $this->add_filters();
     // Set up our actions
     $this->add_actions();
 }
 /**
  * Initialize ourselves - adds actions/filters
  *
  * @since 1.0.0
  *
  * @param null
  * @return null
  */
 public function init()
 {
     if (!is_null(self::$instance)) {
         return;
     }
     self::$instance = new self();
     // Set the plugin path as where this file resides
     self::$plugin_path = trailingslashit(dirname(__FILE__));
     // And the URL
     self::$plugin_url = trailingslashit(plugins_url('', __FILE__));
     // Set up our actions
     $this->add_actions();
 }