Help With Rewrite_Rules For a Custom Plug-In
In regards to when you need to be flushing the rewrite rules: This should only happen once, make sure you are not calling flush_rules() on init, as this will really kill performance for high traffic sites. WordPress stores all of the rewrites in an array in the database, so all you need to do is … Read more