• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Account_API / Account_API::get_token_authorization_header()
Product: Virtual Events

Account_API::get_token_authorization_header( $access_token = '' )

Returns the access token based authorization header to send requests to the Zoom API.

Contents

  • Return
  • Source
  • Changelog

Return

(string|boolean) The authorization header, to be used in the headers section of a request to Zoom API or false if not available.


Top ↑

Source

File: src/Tribe/Meetings/Zoom/Account_API.php

	public function get_token_authorization_header( $access_token = '' ) {
		if ( $access_token ) {
			return 'Bearer ' . $access_token;
		}

		if ( $this->access_token ) {
			return 'Bearer ' . $this->access_token;
		}

		return false;
	}

Expand full source code Collapse full source code


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.
The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy