Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Query events by event_meta value | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Query events by event_meta value

Query events by event_meta value

Posted: September 15, 2012 at 12:35 pm

Viewing 1 reply thread


Meg Franz

September 15, 2012 at 12:35 pm

How would I go about querying events by a event_meta value? Notice the event_meta values are not included in the custom post meta.


Dean

  • Support Staff

September 18, 2012 at 3:28 am

Hi Meg,

I suppose this really depends on what you are trying to do.

I did a small test to use the meta data in the post registration page for example (registration_page.display.php), so I simply pulled over the event meta as mentioned in the event_post.php

<?php 
global $event_meta;
$event_meta = unserialize($data->event->event_meta);
var_dump($event_meta);
?>

Ok so all I did here was var_dump it, but as you can see the meta data is available there and can be manipulated.

The meta isnt available on the posts. I will ask a dev to examine this for a possible future update,

Viewing 1 reply thread

The support post ‘Query events by event_meta value’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server