I need to display the published status on my events on the events’ general overview table, just the same as WP displays the published status of a post or page: draft, pending review, published.
Can you please help with where to translate the words for the status: “draft”, “publish”, “pending”? I tried to include the translation in my custom plugin with no effect.
Since the get_post_status() function returns the value from the database, a translation ready string (or even translated string) can be displayed instead. I updated the code example that shows how to display a translation ready text string for each post status:
The support post ‘How To Display The Published Status Of An Event?’ 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.