Why Cptm::init flush permalink rules every time?
-
I love CPT-Maker it is very simple plugin. However, I have a question to permalink rules flushing. Due to flushing permalink rules every time, WordPress maybe get slower, and sometime causes to 404 error. I think save_post is better to do flush rules.
Important: Rewrite rules must be flushed on activation or deactivation to avoid unnecessary rewrite rule flushing.
http://codex.wordpress.org/Function_Reference/flush_rewrite_rules
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Why Cptm::init flush permalink rules every time?’ is closed to new replies.