MEC_HELPERS::setup( $id )
This function must be called before calling any methods.
Contents
Parameters Parameters
- $id
-
(Required) integer The event id.
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 ); }
Expand full source code Collapse full source code View on Github