Support

Home Forums Event Espresso Premium event_form_build_edit() does not have if (!function_exists())

event_form_build_edit() does not have if (!function_exists())

Posted: September 26, 2013 at 5:23 pm


Brittany Stone

September 26, 2013 at 5:23 pm

Just wanted to drop a line that the function event_form_build_edit() does not have if (!function_exists('event_form_build_edit')) {} wrapping it, so if you try and we write it in the custom files addon, it breaks.


Josh

  • Support Staff

September 26, 2013 at 9:11 pm

Hi Brittany,

Some of the functions that aren’t pluggable (like event_form_build_edit()) were done this way intentionally. The reason being it’s used in more than one place in Event Espresso so if it’s overwritten for one place it may break the functionality where it’s used elsewhere.

If you let us know what you’re looking to customize we may be able to add an action or filter hook to allow for some customization via a custom function.

The support post ‘event_form_build_edit() does not have if (!function_exists())’ 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