protected function __construct($api_key, $after_compress_callback) { parent::__construct($after_compress_callback); $this->api_key = $api_key; }
protected function __construct($api_key, $after_compress_callback) { parent::__construct($after_compress_callback); $this->proxy = new WP_HTTP_Proxy(); \Tinify\setAppIdentifier(self::identifier()); \Tinify\setKey($api_key); }