Is there a fast way to add the same event meta tag to all events we have entered into Event Espresso? Or do i need to open up each event and add it one at a time?
It turns out that there is a way to add the same event meta tag with a default value to all new events. We have a code snippet in our documentation that can be added to your site’s custom_functions.php file. You’ll notice that the first value is the meta key (eg “event_hashtag”) and the second value is the meta value (eg “#eventespresso”).
Thanks for the info Josh! To clarify… I’d like all events that are registered for within EE to tag the customers with the same tag in Infusionsoft. Would this be the way to achieve this without having to manually enter the event meta in all our events that are already entered into EE??
For existing events you would need to manually add the meta tags, or via an SQL (database) query.
The script Josh linked to will only work for new events.
There is a slight issue here in that the Infusionsoft plugin also uses this function to over ride the default meta. As such adding this function elsewhere will not work.
In the short term, I think you would have to edit the function directly in the /wp-content/plugins/espresso-infusionsoft/index.php file.
I will raise a developer ticket to see if we can add in a filter hook to both the core and infusionsoft addon to make it easier to modify.
Viewing 3 reply threads
The support post ‘event meta’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.