Forums
(@peterthomson)
8 years, 9 months ago
Without looking at the code it may be that flush_rewrite_rules is running too soon (on init for example) and needs to be hooked into wp_loaded.