Title: [Plugin: Events Manager] Integrating with Exec-Php
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Integrating with Exec-Php

 *  Resolved [ElbowRobo](https://wordpress.org/support/users/elbowrobo/)
 * (@elbowrobo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/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](http://wordpress.org/extend/plugins/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.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-integrating-with-exec-php/#post-2838337)
 * hi,
 * haven’t tried this but check if EM template file can help you out – [http://wp-events-plugin.com/documentation/using-template-files/](http://wp-events-plugin.com/documentation/using-template-files/)
 *  Thread Starter [ElbowRobo](https://wordpress.org/support/users/elbowrobo/)
 * (@elbowrobo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-integrating-with-exec-php/#post-2838345)
 * Thanks for the reply.
 * I am on the move right now but will give this a try when I get back!
 * Eliott
 *  Thread Starter [ElbowRobo](https://wordpress.org/support/users/elbowrobo/)
 * (@elbowrobo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-integrating-with-exec-php/#post-2838415)
 * That seems to have done the trick. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Events Manager] Integrating with Exec-Php’ is closed to new 
replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [classes](https://wordpress.org/support/topic-tag/classes/)
 * [exec](https://wordpress.org/support/topic-tag/exec/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [integration](https://wordpress.org/support/topic-tag/integration/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [ElbowRobo](https://wordpress.org/support/users/elbowrobo/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-integrating-with-exec-php/#post-2838415)
 * Status: resolved