• I made a bunch of changes to the .php files that one of my plugins uses, but after I upgraded the plugin the files were over-written and I lost those changes.

    Is there a way that I can make changes in a way that won’t be affected by future plugin upgrades? I’m thinking of something similar to WordPress child themes, where you specify a particular theme as a parent and tell it to replace certain lines of css with your own.

    Thanks in advance for any help you can offer, and apologies if this question has already been answered – I tried searching but my search terms were too vague ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure about the child plugin thing — but why not rename the plugin folder and the main plugin .php file so it never upgrades that plugin, then install the plugin from the author and don’t activate it but use that to tell you when an upgrade is available.

    Thread Starter poebae

    (@poebae)

    Thanks for the reply.

    Hmm, it just doesn’t seem like that ‘clean’ a way of doing it, because I’d like to be able to receive the updates for the plugin.

    I remember reading something about replacing certain functions, but I can’t find it anymore.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to modify plugins in an ‘upgrade-proof’ way?’ is closed to new replies.