Tribe__Tickets__Attendees::hook()

Hooks all the required actions and filters in WordPress


Return

(void)


Top ↑

Source

File: src/Tribe/Attendees.php

	public function hook() {
		add_action( 'admin_menu', array( $this, 'register_page' ) );

		add_action( 'tribe_events_tickets_attendees_totals_top', array( $this, 'print_checkedin_totals' ), 0 );
		add_action( 'tribe_tickets_attendees_event_details_list_top', array( $this, 'event_details_top' ), 20 );
		add_action( 'tribe_tickets_plus_report_event_details_list_top', array( $this, 'event_details_top' ), 20 );
		add_action( 'tribe_tickets_report_event_details_list_top', array( $this, 'event_details_top' ), 20 );

		add_action( 'tribe_tickets_attendees_event_details_list_top', array( $this, 'event_action_links' ), 25 );
		add_action( 'tribe_tickets_plus_report_event_details_list_top', array( $this, 'event_action_links' ), 25 );
		add_action( 'tribe_tickets_register_attendees_page', array( $this, 'add_dynamic_parent' ) );
		add_action( 'tribe_tickets_report_event_details_list_top', array( $this, 'event_action_links' ), 25 );

		add_filter( 'post_row_actions', array( $this, 'filter_admin_row_actions' ) );
		add_filter( 'page_row_actions', array( $this, 'filter_admin_row_actions' ) );
	}

Top ↑

Changelog

Changelog
Version Description
4.6.2 Introduced.