• 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__Editor__Blocks__Tickets / Tribe__Tickets__Editor__Blocks__Tickets::hook()
Product: Event Tickets

Tribe__Tickets__Editor__Blocks__Tickets::hook()


Source

File: src/Tribe/Editor/Blocks/Tickets.php

	public function hook() {
		add_action( 'wp_ajax_ticket_availability_check', array( $this, 'ticket_availability' ) );
		add_action( 'wp_ajax_nopriv_ticket_availability_check', array( $this, 'ticket_availability' ) );
	}

Expand full source code Collapse full source code

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