How To Flush Rewrite Rules For All Sites on Multisite Network


After updating plugins on multisite networks it is not uncommon for rewrite rules to be broken on many sites on the network.

Fixing the issue requires visiting each site and flushing the rules.

I am looking for a solution that will flush all the rules on all sites across the network.

These threads are relevant, but I am seeking a recommendation, code snippet or plugin to accomplish this task.

Any help appreciated.


Phil D