Timeline for Am I using the flush_rewrite_rules function in the right place?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 26, 2015 at 20:12 | vote | accept | saeed shabani | ||
Aug 26, 2015 at 17:54 | comment | added | saeed shabani | Thank you.In addition To limit flush rules i use @Ignat-B. first solution too. | |
Aug 26, 2015 at 14:13 | answer | added | Ignat B. | timeline score: 2 | |
Aug 26, 2015 at 13:33 | comment | added | TheDeadMedic |
The golden rule is: don't flush rules on every request (i.e. on the init hook), only ever flush them after permalink-related changes. You pass with flying colours. All good.
|
|
Aug 26, 2015 at 12:56 | history | asked | saeed shabani | CC BY-SA 3.0 |