Is there a way to add a ACF/metadata field data to a custom post type permalink?
Actually, for what you are trying to do, you do not need to manually add a new rewrite tag or rule. If you want to change the permalink structure of a custom post type, then use the rewrite parameter for register_post_type() and set the rewrite slug to your preferred permalink structure, like so: $args = … Read more