Having modified several plugins, I want to stop them being updated (and over-writing the mods).
I don't just want to stop auto-updates, but also inadvertent updates by myself or another admin.
I don't want to disable 'new version available' notifications (because if there's a newer version I want to update to it, after editing to apply appropriate mods).
I'm wondering if there's something I can add to functions.php, which stops named (or all) plugin updates... and can be temporarily 'commented-out' to re-enable a manual update.
UPDATE: After further searches, what I want seems unlikely.
I haven't been able to find a way to retain 'update available' notices AND block updates.
My possible klunky work-around is:
1 Install original plugin. Leave unmodified and inactive. This should get 'update available' notices.
2 Install modified plugin, add 'modified' to name and change slug, activate. This shouldn't get 'update available' notices.
3 Add a message about which plugins are modified on the plugin page.
This way, original plugins can be modified without affecting site function.
Modified plugins won't get updated, and (using the reminder on the plugin page) a periodic visual comparison of version info with the original will show if an updated version is available (and which can be modded appropriately).
If there's a better option, I'll welcome it.
FURTHER UPDATE: I've since found 'Lock Your Updates' plugin (https://en-gb.wordpress.org/plugins/lock-your-updates/), which seems a useful solution.
Easy to set-up, it allows 'new version available' updates but enables plugins to be selected and blocked/unblocked from updates.
There's also a 'notes' feature for reminders on why a plugin is blocked, but I've not been able to get that working.