- This topic has 2 replies, 2 voices, and was last updated 14 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Feature requests’ is closed to new topics and replies.
Events Made Easy › Forums › Feature requests › API (template tags)
Tagged: api, template tags
Dear Liedekef,
I reviewed a couple of calendar plugins for wordpress and decided to use yours.
The main thing I’d like to request is an API (with template tags) for the functions:
dbem_get_event(args)
dbem_get_locations(args)
dbem_get_location(args)
Basically I’d like to see everything that is possible in the plugin back in an API.
Thumbs up for sticking with your decision to not use posts as entries for events!
Kind regards,
Tobias
[edit]
I dug into the code and noticed that I can get raw data with:
dbem_get_locations
dbem_get_location
dbem_get_events
dbem_get_event
[/edit]
As far as I’m concerned that’s good enough, it would be nice though if these functions would be documented in an API.
* Another note regarding the echo=false attribute:
When false is passed as a an argument in a string the following will never evaluate as boolean false:
if ($echo) {
If you convert :
$echo = $r ;
– to a boolean it will.
Cheers,
T
I’m still/always working on the doc 🙂
Thanks for the boolean thing, I updated the trunk version!
Thanks for the fast reply!
Good to hear that! And glad I could help!
🙂