I'm using Milo's answer to add a Rewrite Endpoint as part of my plugin.
Is there a straight-forward way to remove a Rewrite Rule upon deactivation?
I found this snippet but I'd expect a "remove_rewrite_endpoint" to match add_rewrite_endpoint
Also, how do I know what to look for in the rewrite rules list when add_rewrite_endpoint was used to add the rule?