MEC_HELPERS::__construct()

Our class constructor. Adds Couple of endpoints to the server.


Return Return

(Uncanny_Automatorvoid.)


Source Source

File: src/integrations/modern-events-calendar/helpers/mec-helpers.php

	public function __construct() {
		add_action( 'wp_ajax_ua_mec_select_events', array( $this, 'select_events_endpoint' ) );
		add_action( 'wp_ajax_ua_mec_select_event_ticket', array( $this, 'select_event_tickets' ) );
	}