• 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 / WooCommerce / WooCommerce::__construct()
Product: Event Tickets Plus

WooCommerce::__construct()

{@inheritdoc}


Source

File: src/Tribe/Repositories/Order/WooCommerce.php

	public function __construct() {
		parent::__construct();

		// Set the attendee provider for later use.
		$this->attendee_provider = tribe( 'tickets-plus.commerce.woo' );

		// Set the order post type.
		$this->default_args['post_type'] = $this->attendee_provider->order_object;
	}

Expand full source code Collapse full source code

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