• 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 / Tribe__Events__Community__Tickets__Gateway__PayPal / Tribe__Events__Community__Tickets__Gateway__PayPal::get_api_url()
Product: Community Events Tickets

Tribe__Events__Community__Tickets__Gateway__PayPal::get_api_url()

returns the appropriate API url based on whether or not sandbox is enabled


Source

File: src/Tribe/Gateway/PayPal.php

	public function get_api_url() {
		if ( $this->sandbox ) {
			return $this->api_sandbox_url;
		}

		return $this->api_prod_url;
	}//end get_api_url

Expand full source code Collapse full source code

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy