/** * Constructor function. * @param string $file __FILE__ of the main plugin * @access private * @since 1.0.0 */ private function __construct($file) { self::$token = 'plugins50'; self::$file = $file; self::$url = plugin_dir_url($file); self::$path = plugin_dir_path($file); self::$version = '1.0.0'; $this->init(); }