Closed lots0logs closed 2 years ago
flush_rewrite_rules()
WP_OPENAPI_ACTIVATION
Fixes #14
Thanks for the PR and sorry for the delay. I was AFK. I'll merge it and release a new version at the end of the day.
1.0.6 has been released (I had to bump up multiple versions due to release mistakes to .org 🥲 )
flush_rewrite_rules()
to only be called once when plugin is activated, setWP_OPENAPI_ACTIVATION
constant in activation callback and then flush rewrite rules inside init callback only when its defined.Fixes #14