How can I get a plugin to hook ‘dbdelta_queries’ — a filter used during version update?
Must-use (mu) plugins are loaded during the version update process, unlike ordinary plugins. Explanation here. So it’s possible to hook dbdelta_queries and the related filters from within a mu plugin. (Thanks to Sergey Biryukov for the answer.) But, some plugins use the same dbDelta() function as core update, so it’s possible to get queries for … Read more