Support

Home Forums Event Espresso Premium Custom Files question

Custom Files question

Posted: September 12, 2013 at 10:04 am

Viewing 1 reply thread


thinkbiglearnsmart

September 12, 2013 at 10:04 am

Can the update_event function from includes/event-management/update_event.php be overridden in custom_functions.php? It doesn’t seem to be working and I’m not sure if it’s the code itself or that the function isn’t supported.

Is there a list somewhere of the functions that can be overridden? The docs just say “some of the core functions.”

Thanks.


Sidney Harrell

September 12, 2013 at 11:41 am

That particular function does not have the wrapper that makes the function overrideable. If you want, you can wrap it in

if (!function_exists('update_event')) {

to make it so. The functions that can be overridden have that wrapper.

Viewing 1 reply thread

The support post ‘Custom Files question’ 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