There is no clean solution to this, because task is, well, dirty. 🙂 You should really be making these modifications in a proper ways.
If I absolutely had to do this (and even than probably for specific plugin and not at scale), I would look into maintaining my changes as vendor branch in version control and rebase on top of new releases. Even then it’s not really convenient or maintenance-light solution.
Related Posts:
- Update a WordPress website FROM Twitter or Facebook
- Alter how often WordPress Auto-Updates Plugins
- How do I exclude plugins from getting automatically updated?
- How to implement WordPress plugin update that modifies the database?
- How to disable core and plugin updates
- Update plugin from personal API
- Schedule WordPress Auto-Updates to only run during business hours
- How to delete the Hello Dolly plugin automatically?
- Plugin update error message
- Automating deprecated call checks?
- How wordpress detects a plugin update
- Avoiding plugin name collisions with WP updater
- A Way to Auto update plugins using cron?
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- Making plugin unique to not conflict with plugins with the same name
- Plugins won’t auto-update on IIS
- Plugin to set all Posts in a certain Category to a certain Post Format
- Auto add content such as pages upon plugin activation?
- Can a manually uploaded plugin be made to track updates from the WordPress.org plugin directory?
- How to make my plugin able to be updated from admin panel?
- Restored WordPress on new Server – Can’t auto-update plugins
- What is the correct way to update both WP/plugins/themes without breaking the site?
- Can’t update/install plugins or WordPress
- Private Plugin Updates – Localhost
- Assign post format to categories
- I should enable automatic updates?
- How do I automatically generate pages from a database?
- Check filter defined or not?
- Can I do in-page changes binding events/triggers to actions in WordPress?
- How to execute plugin and theme updates from a web hook / endpoint?
- Activate and deactivate plugin automatically
- How (or where) do I get wordpress plugin update download link?
- Determining Whether Automatic Upgrade will Fail?
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- How to set plugin auto-update Enabled by default?
- How to create a plugin with automatic update?
- How do I stop plugins and themes from getting updated in a new plugin?
- Update a previous version of plugin when the new plugin is built from the scratch
- Possible to automatically update plugin without user interaction
- Making sure updates didn’t break anything
- Scheduled emails to include only posts and calendar events for the upcoming week
- Update (a function) post’s featured image as soon as $image_url changes
- How to populate a Mailchimp newsletter with latest events from WordPress plugin EventOn?
- database – multiple wordpress installations using same database – can they share plugin settings?
- WordPress core update fails – no issues with plugin updates
- error_log() not working in add_filter auto update callback
- Auto post with filling templates from external data and update periodical
- Adding a variable to a meta field in the backend?
- Activate and deactivate two plugins automatically at certain hours
- Hook automatic_updates_complete to autoupdate plugin
- How to update changes to multiple sites at the same time
- automation of plugin installations
- How to Enfroce Domain Licensing Limits? [closed]
- How to Replicate Elementor Licensing Model
- Plugin download link
- Plugin_Upgrader not working if function is called from remote server
- Best way to overide plugin CSS?
- How to include a plugin’s php file to another plugin functions file [duplicate]
- Reduce nonce lifespan
- Add_rewrite_rule doesn’t add custom url in plugin
- Display comments of users on single page
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Submit page limited in time to upload image
- Modal suddenly disapearring [closed]
- media page returnig to 404 in rtmedia [closed]
- Remove Woocomerce shop page
- How do I show a different homepage to logged in and non-logged in users?
- Check if SEO plugin installed
- WordPress override archive page template using a plugin
- How can i delete options on plugin uninstallation?
- autologin in wordpress when loged in non wp-site
- Image crop, resize and compression plugin?
- Woocommerce Coupon Menu and Marketing Menu missing After “Coupons can now be managed from Marketing > Coupons.” [closed]
- “uagb/section and uagb/columns block”
- Block installation of specific plugins on a server level (CentOS 6 x64)
- Is there a way to easily manage Project options (custom-fields)
- Changing plugin options from theme functions file?
- When Installing a Plugin Where do I Move Template Files to?
- What would make the plugin update process to complete but don’t report as such?
- AZindex related help needed
- WordPress search input in database, to edit information via form and update the database
- Remove a div class with condition
- BS Authorize.net Problem (Payment in hanging if customers is not logged in)
- PHP Error message Upload images to remote server
- Better search on WordPress.org Plugins?
- Avoid duplicate posts with xml rpc
- No route was found matching the URL and request method
- CMB2 Output Select Box Chosen Option
- Remove action added in plugin class from theme
- Can’t get or display post thumbnail in wordpress
- Custom User Notice Upon Login
- How to validate field when create post
- Keeping original URL
- How to add jquery to my custom post type wp plugin
- WordPress list child pages of custom post type
- How to develop an extension for a simple form post and post back? [closed]
- What can I do to customize a widget provided with this plugin? from where have I to start?
- Attachement title in wpallimport
- Ajax Called in Plugin php file
- Store large dataset in WordPress installation temporary