Posted: February 27, 2013 at 10:31 am
|
I’m trying to override event_espresso_price_dropdown to change them to radio buttons and found it in two places: It looks like the member_functions from the Members plugin is the one being used but if I try to override that in uploadsespresso then it does not override it. Is it possible to override the one in espresso-members? Thanks, PS > I’m working off a base of 3.1.21 so it’s possible it’s been changed since then. If so, please just let me know. Don’t expect you to help dig into old versions 🙂 |
||||||||||
How are you overriding it? Are you declaring the function in your custom_functions.php file? |
|||||||||||
|
Yes. If I rename the function in the members plugin it overrides the one from the main plugin but just doesn’t override the one in the members plugin. |
||||||||||
It looks like the
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…where you’re checking for the function and if it exists, running your own version instead. My other suggestion would be to just hack the That said, if you’re actually on 1.9 of members, that’s an old version of Event Espresso. As is 3.1.21 (which is about a year old), so it may do to just upgrade first and then mess with this stuff. |
|||||||||||
The support post ‘Override Price’ 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.