Support

Home Forums Event Espresso Premium Events Table View Template – Hide upcoming events that are not on sale Reply To: Events Table View Template – Hide upcoming events that are not on sale

Reply To: Events Table View Template – Hide upcoming events that are not on sale

Author Replies
Josh # Posted on March 28, 2018 at 8:12 am

Hi Thomas,

Here’s another PHP tutorial that may help as you embark on your project:

https://wpshout.com/a-complete-guide-to-object-oriented-php-for-wordpress-developers/

With regards to the usage of get_datetimes_for_event_ordered_by_start_time(), you can override the $show_expired parameter with a boolean value to change its behavior. e.g.
$datetimes = EEM_Datetime::instance()->get_datetimes_for_event_ordered_by_start_time( $post->ID, true, false, $datetime_limit );

Do NOT follow this link or you will be banned from the site!