Title: When we update plugin lost our custome code
Last modified: August 31, 2016

---

# When we update plugin lost our custome code

 *  Resolved [vrush123](https://wordpress.org/support/users/vrush123/)
 * (@vrush123)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/when-we-update-plugin-lost-our-custome-code/)
 * Our problem is after updating the event calender plugin we lost our custom code:
 * We use the 3 event plugins
    1)the-events-calendar 2)event-tickets 3)events-calendar-
   pro
 * We modeify the files from the event calendar plugin and event tickets plugin
   
   so how we set that modified files in our theam folder
 * The following files are we modified
    1)public_html/wp-content/plugins/the-events-
   calendar/src/Tribe/Main.php 2)public_html/wp-content/plugins/event-tickets/src/
   Tribe/Attendees_Table.php 3)public_html/wp-content/plugins/event-tickets/src/
   admin-views/attendees.php 4)public_html/wp-content/plugins/event-tickets/src/
   views/tickets/email.php
 * So how we include this files into our theam so when the plugin is updated our
   code is not lost.
 * Now we try to include the files as follows but its not working…
    we include the
   files in our theam as following way we made a folder called “tribe-events” and
   to include main.php in following path
 * public_html/wp-content/themes/mantra 2.4.0/tribe-events/src/Tribe/Main.php
 * but our changes is not refflected ..
    so please give me the solution to how i
   add that files in theam so it reflect in plugin
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

Viewing 1 replies (of 1 total)

 *  [joinfof](https://wordpress.org/support/users/joinfof/)
 * (@joinfof)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/when-we-update-plugin-lost-our-custome-code/#post-7110791)
 * Hello and thanks for reaching out,
 * Would you mind opening a thread in our [Premium Support Forums](http://m.tri.be/rg)?
   We unfortunately cannot provide technical support for premium plugins via the
   WordPress.org forums.
 * Thanks for understanding and for choosing TEC. Have a good one 🙂

Viewing 1 replies (of 1 total)

The topic ‘When we update plugin lost our custome code’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [update plugin](https://wordpress.org/support/topic-tag/update-plugin/)

 * 1 reply
 * 2 participants
 * Last reply from: [joinfof](https://wordpress.org/support/users/joinfof/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/when-we-update-plugin-lost-our-custome-code/#post-7110791)
 * Status: resolved