It’s is good idea to run similar DB updates per site basis. You can store plugins version in wp_options (which are options for current site), then on admin_init
compare version and run upgrade.
If you want to run more complicated/big updates, I would recommend creating custom upgrade page for plugin and only display admin notice for users, so they can run it manually.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Cannot add edit themes and add plugins after multisite update
- How to create user that has permission to create new sites on WordPress with multisite option enabled?
- Configuring Propel to Work with Multisite
- Setup page on first login on multisite
- Updating plugins asks for FTP information, why? (this is a new one)
- Subdomains with almost the same content
- Programatically update non-wordpress repository hosted (self-hosted) plugins
- Procedural Question on Plugin Installation
- Uninstalling plugins across all sites
- Some recent plugin updates have failed “Could not create directory”
- Multiple domains issue
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- Call specific plugin update
- Malware installation during plugin update?
- WordPress plugin updates / set file as immutable to prevent certain files from changing?
- Users are being redirected to main site when trying to register on subsite of my Multisite network
- “Master” WordPress Multisite – Database Sync
- Will these plugins work with wp multisite?
- User Signup in Multisite – Need Plugin or Advice
- How to test ‘upgrader_process_complete’ hook in plugin development?
- What happens if I don’t update my plugins?
- WordPress update and plugin install not working
- Add custom text color WordPress 3.9 TinyMCE 4 Visual editor
- How do I disable an update for a specific plugin?
- Batch update of WordPress Plugins
- My homemade plugin is trying to update to someone else’s plugin
- Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
- Certain functions are undefined when called form mu-plugins
- Multisite for Multisite?
- How to get plugin name from plugin file location
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- Plugins fail to update: Download failed. A valid URL was not provided
- What is a rock solid development and deployment workflow? [closed]
- Multisite – maximum number of users with specific role
- How do I get the user ID of the user that was updated in WordPress?
- How to update mu-plugin
- Create a single website with 3 theme options in wordpress
- Why shortcode always displayed after footer not in body
- Understanding State in WordPress Multisites
- WordPress Multisite: Programmatically Activate / Deactivate a Plugin of a Specific Blog
- UpdraftPlus installed malware – scared to download or update plugins now! [closed]
- Child Themes and Updating Parent Theme
- One sub site is slow while all others load fine, same theme & plugins [closed]
- Error checking when future updates are automatic
- How to display terms and conditions in post area?
- How to see which sites use my installed plugins (wordpress multisite)
- How to check wp_options’s rewrite_rules if current and existing are the same before flush the rules?
- Is there a maximum length to a WordPress Page?
- How to execute plugin and theme updates from a web hook / endpoint?
- Vulnerability Concern From the Plugin or From Not Updating the Plugin?
- Get site url and updates data, then use them
- How to integrate together a website currently hosted WordPress.com and a custom web application currently hosted on Azure?
- Why does this code snippet create a critical error on my site? [closed]
- WordPress super admin login issue. (Automatically logout)
- How do I get the Payzone WooCommerce payment gateway plugin to show up in the settings? [closed]
- Managing wordpress Themes & plugins for multisite
- Regularity of Checking for plugin updates? [duplicate]
- getting notifications about updates only in the “core” page
- How to remove a CPT Menu from the Root Admin only
- Updating WordPress across multiple versions
- How do I change where a plugin pulls updates from?
- Hosting multiple sites
- Redirect Plugins.php to New Plugin Page
- How to add update function to plugin without adding it to https://wordpress.org/plugins/ [closed]
- Plugin upgrade failing during unzip
- How (or where) do I get wordpress plugin update download link?
- Problem after updating plugins
- Issue removing Media Editor Tabs — Duplicate Items
- WordPress’s is_plugin_active_for_network function not working for multisites
- Each User has a Personal Blog
- Storing Form data in a different database
- Remove updates text on plugin or themes list page
- Completely remove ability to create users?
- how to make a wplang for network fill automatically
- Creating teams of users in WordPress
- Do WordPress plugins suport multisite site?
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- What would make the plugin update process to complete but don’t report as such?
- Multisite Plugin – Access options (wp_options) on child sites
- looking for a multi-user hello-world plugin
- How to get values from network settings panel?
- Share plugins, themes, and multi post in a multidomain network
- Plugin to create unlimited custom shortcodes?
- Constructing a Pay to Download music website with wordpress
- After enable multisite enviroment in wordpress site creation wizard not working
- Bulk User Deletion
- Best method of implementing compartmentalized custom post types on a multi-site network
- In a WPMU that uses several different domains, how to enable users to register subdomains of any domain from the main site?
- Multisite Change from domain.com to sub.newdomain.com
- Activation flow of a plugin in a multisite environment
- In Multisite Setups, how to update mass sections of sub-sites
- Manualy Updated WordPress Error
- WordPress Multisite Profile Picture Sync Error with Nextend Social Login Plugin
- WordPress plugins – “Update” in backend vs replacing all files with never version
- How can I disable new plugin and theme install, but allow updates?
- Hide fields in woocommerce settings
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- WordPress asks to update a plugin already updated