flush rewrite rules after plugin update?

Question

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

0
mir.moezi 2 months 0 Answers 12 views 0

Leave an answer