Updating theme and plugins with customisation

Home Forums Legacy Support Support queries Update Issues Updating theme and plugins with customisation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251448
    ftva
    Participant
    Hi, We have made some code changes on both the plugin and theme, example:
    • plugins/wplms-gift-course/classes/class.gift_course.php
    • plugins/vibe-customtypes/includes/featured.php
    • plugins/vibe-course-module/includes/bp-course-template.php
    • and other plugins related to wplms/vibe
    the reason for customisation is so we can add the feature and layout we like that we cannot implement through the child theme. The issue with this approach is when there's a plugin or theme update it overwrites the changes we made, so we have to redo it. Our question is, is there a way to do the update without our changes gets overwritten? Cheers,
    #251867
    Anshuman Sahu
    Keymaster
    Yes this is going to be overwritten as modified code directly into core files which is not recommeded at all. We recommends to use filters or actions wordpress hooks we used in theme everywhere and child theme . refer : https://developer.wordpress.org/plugins/hooks/   There is no other way to do it there is no shortcuts . You have to use filters or hooks.
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Updating theme and plugins with customisation’ is closed to new replies.