First let me start off by saying i love events manager. I am seriously blown away by the features and support, even on the free version.
I am a bit of an amateur at all fo this so please forgive me if i misunderstand things or use the incorrect terminology.
I am trying to add an event via PHP in a plugin that i am building. I know from searching the forums that i need to use EM_event->save() and that i need to build an events object, but i have no clue how i build this object.
If someone could help me out that would be great, just showing me how i would build the object and how i call the EM_Events->Save from another php file.
if you assume that i would be entering each of the values needed (ie Event Title) as a text value then i should be able to work out how to substitute that with the information i already have.
Thank you so much in advance.
- The topic ‘building an events object’ is closed to new replies.