It was brought to my attention shortly after releasing this plugin that WordPress automatically flushes rewrite rules when you visit WP-Admin > Settings > Permalinks.
So don't bother installing it, but feel free to check out the code if you are looking for example of how to.
Use WordPress Settings API to add option to Settings page.
Use WordPress AJAX API conjunction with your plugin options.
Over-engineer solution to problem that has already been solved...
Flush Rewrite Rules button is added to WP-Admin > Settings > Permalinks...
Rewrite Flush Button is open software.
The following people have contributed to this plugin..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more