Get exact CPT from the authorID
-
Hello,
I need some help to get the exact 1 CPT “artist” URL from an author ID.
The goal is to change the author_link to this custom post type “artist” of the author.
I allready got the author ID and I know how to change the author link by using the author_link filter.
So, how do I get the custom post type “artist” URL where the author ID is $global ID.
I know I can do this by customize a query, but, cause there is only ONE cpt for each author I am looking for some shorter way to get this URL or PERMALINK.
die
Thanks for help,
Cheers,
Denis
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get exact CPT from the authorID’ is closed to new replies.