MEC_HELPERS::select_events_endpoint()

This is a callback method to wp_ajax_ua_mec_select_events hook.


Description Description

The method renders a json array which is immediately followed by die function from wp_send_json.


Top ↑

Return Return

(Uncanny_Automatorvoid.)


Source Source

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

	public function select_events_endpoint() {

		$events = new MEC_HELPERS();

		wp_send_json( $events->get_events( true ) );

	}