flush rewrite rules after plugin update?
I am working on a plugin that registers custom new endpoints in every update and we need to Flush Rewrite Rules after every update of the plugin.
Flushing Rewrite Rules are easy after activation of the plugin and there is a lot of tutorials out there about this
But in the case of Flushing Rewrite Rules after Update
I can’t find any solution