MEC_HELPERS::setup( $id )

This function must be called before calling any methods.


Parameters Parameters

$id

(Required) integer The event id.


Top ↑

Return Return

(Uncanny_Automatorvoid.)


Source Source

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

	public function setup( $id ) {
		$this->event_id   = $id;
		$this->event_meta = get_post_meta( $this->event_id );
	}