I’m relatively new to WordPress development and EE development, so apologies if this question is a little obtuse.
I’m trying to better understand the way Event Espresso is built so I can create stand-alone plugins to modify some of the core system functionality, but I’m having a difficult time following the code structure.
I know I can use action hooks and filters to “hook in” to various places within the EE core, however what I really don’t understand is how to access object methods for instantiated classes within the core itself, because I can’t even find where core classes within Event Espresso are being instantiated.
I can find a particular class with properties I want to access, for example, but I can’t find any instances of it being instantiated – anywhere. I have a strong grasp of PHP and OOP principles, but I’m finding it difficult to get the bigger picture of the general control flow of EE.
Is it even possible to access class properties via action hooks?
Further to that, if there’s somewhere in the code where an action or filter hook will be helpful for your plugin, you are welcome to start a pull request on the Event Espresso project hosted on Github:
The support post ‘Accessing EE core object properties’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.