[Plugin: Events Manager] Integrating with Exec-Php
-
So,
after using a different Events Plugin – I decided to take the plunge and try a different one. The reasoning was that support for the other had been stopped and so even though I had added many features, it seemed more sense to adapt to a new system – this one.
However, I have come upon a stumbling block… The old system somehow just worked with Exec-Php and I could easily have PHP inside my events’ pages. Events-Manager is not so easy to incorporate.
I have tried a whole mannor of code from:
add_filter(array('EM_Event_Post','the_content'), array('ExecPhp_Runtime', 'filter_user_content'), 1);
to
$execphp = new ExecPhp_Runtime; $content = $execphp->eval_php($content);
However to no success. If anyone knows about Exec-Php and would be able to help me in this area I would be grateful. However, my main appeal is to anyone with knowledge about Events-Manager’s system and which functions may need to be modified.
Most of my modifications are run from my functions.php file in my theme (which I back up – so no upgrade disappointments here :)) however I am perfectly happy to mod the plugin file.
If anyone has any idea which functions I should look at or which classes or even just which files I would be even happier. I’ve had a good delve but have as such not been able to replicate what I want.
What I want in 10 words.
Php code in events pages should be executed (By Exec-Php??)!
Many thanks,
Eliott.
- The topic ‘[Plugin: Events Manager] Integrating with Exec-Php’ is closed to new replies.