I've just developed a calendar plugin.
To display a calendar in a template, I call
This works fine.
But how can I call a function from my plugin that will return data?
I don't want to use
include_once - I really just want to call a function E.g.
$events = calendar->getEvents(args...)