Title: [Plugin: Events Manager] Available spaces
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Available spaces

 *  Resolved [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * (@nico_lag)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/)
 * Hello,
 * How can i use the available spaces of an event with php ?
    Like an : <?php echo
   available_spaces ?>.
 * Thx
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * (@nico_lag)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874554)
 * rather like that
    <?php $available_space = get_option (‘dbem_booking_available_spaces’)?
   >
 * is it possible?
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874592)
 * more like
 *     ```
       $EM_Event = em_get_event($event_id);
       $EM_Event->get_bookings()->get_available_spaces();
       ```
   
 *  Thread Starter [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * (@nico_lag)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874596)
 * Ok thx for your answser and for your interest.
    It’s very helpful.
 *  Thread Starter [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * (@nico_lag)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874612)
 * I use this on my small-calendar :
    `$cell_event->get_bookings()->get_available_spaces();`
 * But how retrieve tiket information ?
    like : `$cell_event->get_tikets()->get_tiket_description();`
 * How i can retrieve the list of the accessing ojects
    of each event – “An array
   of EM_Events which occur on that day”.
 * Like
    `$EM_Event->get_bookings()->get_available_spaces();`?
 * [http://wp-events-plugin.com/tutorials/modifying-the-event-calendar-html/](http://wp-events-plugin.com/tutorials/modifying-the-event-calendar-html/)
 * Thx
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874638)
 * hi,
 * there is a sample snippet here – [http://wordpress.org/support/topic/plugin-events-manager-display-attendees-in-a-page?replies=34](http://wordpress.org/support/topic/plugin-events-manager-display-attendees-in-a-page?replies=34)
 *  Thread Starter [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * (@nico_lag)
 * [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874658)
 * Thx i have retrieve all the needed information

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Events Manager] Available spaces’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Nico_lag](https://wordpress.org/support/users/nico_lag/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-events-manager-available-spaces/#post-2874658)
 * Status: resolved