How to update permalink programmatically?
Question
After activating my plugin i should go to settings -> permalinks and click on save button to make custom endpoints ( for my-account page ) work. How can i do it programmatically? ( I used flush_rewrite_rules but it didn’t work. )
0
4 months
0 Answers
17 views
0
Leave an answer
You must login or register to add a new answer .