How to add custom permalink struct with DYNAMIC author to a Custom Post Type
I created a CPT called
column. I want to add a custom permalink struct ONLY to this CPT:
I need to pass the author CPT in the link, too.
I already set the slug inside the attribute
rewrite in register_post_type()`:
'rewrite' => [ 'slug' => '/columnists', ], ],
Is there any way to dynamic the struct permalink of this CPT?