Another thing is that something like that would be ran everytime the page loads, right? Isn’t it a problem to run permalink on every page load? Maybe I could only trigger it in the backend on save.
Thanks! Yea I’m not sure how I can modify only *some* permalink of a cpt and not all of them