wp_posts table I want to select the rows
where post_type == event. I also want to a connection with
wp_postmeta from the specific row. In my
wp_postmeta table I want to do a where like this:
Where post_id == (post id from wp_posts) and the meta_value from meta_key == event_date_end_timestamp is older than now.
So in my wp_postmeta I have :
But how can I form my query to do this?