• 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__Tickets__Commerce__PayPal__Cart__Unmanaged / Tribe__Tickets__Commerce__PayPal__Cart__Unmanaged::clear()
Product: Event Tickets

Tribe__Tickets__Commerce__PayPal__Cart__Unmanaged::clear()

{@inheritdoc}


Source

File: src/Tribe/Commerce/PayPal/Cart/Unmanaged.php

	public function clear() {
		if ( null === $this->invoice_number ) {
			return;
		}

		delete_transient( self::get_transient_name( $this->invoice_number ) );

	}

Expand full source code Collapse full source code

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