/**
  * Class Constructor. Defines the args for the extions class
  *
  * @since       1.0.0
  * @access      public
  *
  * @param       mixed $parent Panel sections.
  * @param       string $extension_dir Extension Directory.
  * @param       string $extension_url Extension Url.
  *
  * @return      void
  */
 public function __construct($parent = null, $extension_dir = null, $extension_url = null)
 {
     include_once $extension_dir . self::$vendor_dir . DIRECTORY_SEPARATOR . 'class.vendor-url.php';
     $this->extension_dir = (!is_null($extension_dir) ? $extension_dir : '') . self::$vendor_dir . DIRECTORY_SEPARATOR;
     $this->extension_url = (!is_null($extension_url) ? $extension_url : '') . self::$vendor_dir . '/';
     Redux_VendorURL::$dir = apply_filters('redux_vendor_support_dir', $this->extension_dir);
     Redux_VendorURL::$url = apply_filters('redux_vendor_support_url', $this->extension_url);
 }
 /**
  * Class Constructor. Defines the args for the extions class
  *
  * @since       1.0.0
  * @access      public
  *
  * @param       array $sections   Panel sections.
  * @param       array $args       Class constructor arguments.
  * @param       array $extra_tabs Extra panel tabs.
  *
  * @return      void
  */
 public function __construct($parent = null)
 {
     if (empty($this->extension_dir)) {
         $this->extension_dir = trailingslashit(str_replace('\\', '/', dirname(__FILE__)));
         $this->extension_url = site_url(str_replace(trailingslashit(str_replace('\\', '/', ABSPATH)), '', $this->extension_dir));
     }
     include_once $this->extension_dir . 'class.vendor-url.php';
     Redux_VendorURL::$dir = $this->extension_dir;
     Redux_VendorURL::$url = $this->extension_url;
 }