Support

Home Forums Event Espresso Premium Filter to remove end time?

Filter to remove end time?

Posted: February 4, 2016 at 9:49 am


William Tozzo

February 4, 2016 at 9:49 am

Do you have a filter to remove the end time please?
As I believe this is the function for it – “FHEE__espresso_event_end_date__time_format”

I’ve tried this, but somethings not right, as it didn’t work.

// Remove End Time
function ee_remove_time(){
	return '';
}

add_filter( 'FHEE__espresso_event_end_date__time_format', 'ee_remove_time' );


Lorenzo Orlando Caum

  • Support Staff

February 4, 2016 at 10:45 am

Hi William,

Could you let us know where in Event Espresso you are trying to make that change?

For example, are you wanting to remove the end time from the single event page?


Lorenzo


William Tozzo

February 5, 2016 at 3:29 pm

Thanks, yes the single event page.


Lorenzo Orlando Caum

  • Support Staff

February 5, 2016 at 4:21 pm

Hi, here is a tutorial for making that change:

https://gist.github.com/lorenzocaum/0b9e748cf873f1d1b80e


Lorenzo


William Tozzo

February 8, 2016 at 3:29 am

Thanks Lorenzo.

The support post ‘Filter to remove end time?’ 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