How to update permalink programmatically?


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. )

amiwebdev 4 months 0 Answers 17 views 0

Leave an answer