src/Modules/Licenser.php
private function get_version_data() {
		$api_params = array(
			'edd_action' => 'get_version',
			'version'    => $this->product->get_version(),
			'license'    => $this->license_key,
			'name'       => $this->product->get_name(),
			'slug'       => $this->product->get_slug(),
			'author'     => $this->get_distributor_name(),
			'url'        => rawurlencode( home_url() ),
		);
		$response   = wp_remote_get(
			$this->get_api_url(),
			array(
				'timeout'   => 15,
				'sslverify' => false,
				'body'      => $api_params,
			)
		);
		if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
			return false;
		}
		$update_data = json_decode( wp_remote_retrieve_body( $response ) );
		if ( ! is_object( $update_data ) ) {
			return false;
		}

		return $update_data;
	}
private function get_version_data() {
		$api_params = array(
			'edd_action' => 'get_version',
			'version'    => $this->product->get_version(),
			'license'    => $this->license_key,
			'name'       => $this->product->get_name(),
			'slug'       => $this->product->get_slug(),
			'author'     => $this->get_distributor_name(),
			'url'        => rawurlencode( home_url() ),
		);
		$response   = wp_remote_get(
			$this->get_api_url(),
			array(
				'timeout'   => 15,
				'sslverify' => false,
				'body'      => $api_params,
			)
		);
		if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
			return false;
		}
		$update_data = json_decode( wp_remote_retrieve_body( $response ) );
		if ( ! is_object( $update_data ) ) {
			return false;
		}

		return $update_data;
	}
private function get_version_data ( ) { $ api_params = array ( 'edd_action' => 'get_version' , 'version' => $ this -> product -> get_version ( ) , 'license' => $ this -> license_key , 'name' => $ this -> product -> get_name ( ) , 'slug' => $ this -> product -> get_slug ( ) , 'author' => $ this -> get_distributor_name ( ) , 'url' => rawurlencode ( home_url ( ) ) , ) ; $ response = wp_remote_get ( $ this -> get_api_url ( ) , array ( 'timeout' => 15 , 'sslverify' => false , 'body' => $ api_params , ) ) ; if ( is_wp_error ( $ response ) || 200 != wp_remote_retrieve_response_code ( $ response ) ) { return false ; } $ update_data = json_decode ( wp_remote_retrieve_body ( $ response ) ) ; if ( ! is_object ( $ update_data ) ) { return false ; } return $ update_data ; }
Check remote api for latest version.

@return bool|mixed Update api response.
Check remote api for latest version .