/** * Returns the price for an event. * * @since 1.3 * @param int $event_id The event ID. * @return int|str The price of the event. */ function mdjm_get_event_price($event_id = 0) { if (empty($event_id)) { return false; } $event = new MDJM_Event($event_id); return $event->get_price(); }