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
- Adding “Changelog” as a second tab to the auto updater custom plugin
- View Version Details” on Plugin update shows “Plugin not found
- Fatal error..can’t sign into my WP site to try and deactivate naughty plugins. Help!
- I want create woocommerec match products columns
- How to be Variables and options must be escaped when echo’d?
- WordPress Convert queries to slashes using function.php
- I’m getting the following error: Fatal error: Uncaught Error: Call to undefined function oil_paint_regeneration() [closed]
- Redirect a specific User role not admins automatically to view the post that they just updated
- jet engine listing for every single taxonomy in post type [closed]
- Selectively override Easy Digital Downloads protection via filter
- How to check record is exist or not in WordPress CRUD Operation with $wpdb
- Upload the images folder with sub-folders directly to server
- How to change all the urls of the WordPress site?
- Remove embed url for internal links
- Rewrite Rule in htaccess convert query string into slashes
- Change email notification language based on the site language in WPForms
- Limit entry to a WordPress page
- How to export post tags from wordpress
- 404 Error on a WordPress Website, Error disappears for a while and again appears
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- Sort posts by Date (DESC) and by ACF: active_inactive (ASC)
- ShipStation WooCommerce Integration error
- Show WooCommerce products based on query parameters on redirect
- Ad Management Plug that can be used on a membership site
- Relationship field only loads items to administrator
- Failed to update a post when I add a taxonomy to it
- how to code activate/deactive button of custom plugin within backend?
- Is it possible to create post in wordpress using postman?
- WordPress Custom Page Blog Template Pagination Problem (Pagination Not Displaying)
- How do I remove the filter from the orders and add custom status in Dokan?
- Add Text in Single Product Page On a Specific Category
- How does one add numbers to an admin menu?
- Create new page without menu in custom wordpress plugin
- How to override plugin function in code snippets WordPress
- Brands Filter Not Working For On Sale Products
- Custom URL image is not zooming
- Tips on using a custom template with Ultimate Member
- how to make yoast seo read text from custom fields in custom post type
- How to give specific class name to category in wordpress with code snippets
- How can I show the responses from the forms on my different site in the admin panel using rest api?
- How can I view the responses of contact forms on different sites in one panel or elsewhere? [duplicate]
- How can I gather forums posted by visitors from different sites in one place? [duplicate]
- How can I view forums from different sites in a single panel? [duplicate]
- How to make a Template page to show the information of different things Shop and Product page?