Support

Home Forums Event Espresso Premium Extending event_espresso_user_login funtion

Extending event_espresso_user_login funtion

Posted: September 21, 2013 at 5:34 pm

Viewing 1 reply thread


Dario Salsi

September 21, 2013 at 5:34 pm

Hi

I tried to extend the core function event_espresso_user_login() but after defining my own custom function in the custom_functions.php I got only a blank page while trying to view the change.

I noticed that the function in the member_function does not check if the function already exists before declaring it.

I added the check

if (!function_exists('event_espresso_user_login'))

and the blank page was rendered correctly.

Probably you already notice or have been asked about this, but I’ll ask the same just in case: could you please add this change in the next release?

Since I won’t be maintaining the installation for long in the future I’d like to avoid breaking the site for an update.

Thanks and regards


Dean

September 23, 2013 at 2:01 am

Hello Dario,

I can request that the function be made pluggable, but cannot confirm if or when that will occur, as it is a developer prerogative.

Viewing 1 reply thread

The support post ‘Extending event_espresso_user_login funtion’ 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