Title: Replace code of file
Last modified: December 16, 2020

---

# Replace code of file

 *  [jennifersanchez](https://wordpress.org/support/users/jennifersanchez/)
 * (@jennifersanchez)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/replace-code-of-file/)
 * Hello, great plugin!
    I have a question I edited the file class-wp-ulike-widget.
   php because I need to replace the fragment that extracts the content with my 
   custom activity. It works fine this way, but how can I make sure that when updating
   the plugin I don’t lose my code? Thanks!!

The topic ‘Replace code of file’ is closed to new replies.

 * ![](https://ps.w.org/wp-ulike/assets/icon.svg?rev=2453069)
 * [WP ULike – Like & Dislike Buttons for Engagement and Feedback](https://wordpress.org/plugins/wp-ulike/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ulike/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ulike/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ulike/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ulike/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ulike/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jennifersanchez](https://wordpress.org/support/users/jennifersanchez/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/replace-code-of-file/)
 * Status: not resolved