Changeset 1819988
- Timestamp:
- 02/11/2018 02:42:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
event-scheduler/trunk/public/class-event_scheduler-public.php
r1819936 r1819988 161 161 $action = $div->get_request_parameter('action'); 162 162 163 // Get next event date164 $nextEventDate = $div->nextEventDate($offset);165 166 163 // Initialize required plugin otions 167 164 $options = get_option($this->plugin_name); 168 165 $eventLocation = $options['event_default_location']; 169 166 $alternateLocation = $options['event_alternate_location']; 167 168 // Check if plugin settings are configured 169 if (!$eventLocation) { 170 die(__('Please configure the plugin settings first.')); 171 } 172 173 // Get next event date 174 $nextEventDate = $div->nextEventDate($offset); 170 175 171 176 // Check if event exists and create it if necessary
Note: See TracChangeset
for help on using the changeset viewer.