Change permalink structure specific category
I have a specific category that all posts that are in that category must follow the following structure:
category-name/child-category-name(if any)/post-name
The other posts will remain with the current base structure defined which is %postname%
What filter, hook that can change the permalink of these posts? How would it be?
Topic rewrite-rules php permalinks customization Wordpress
Category Web