Author as argument query
-
Hi,
I have a structured wp query to show listings. But I want to have the author in arguments to retrieve only listings by author when linked to.
Can I use something like this in array:
‘author’ => $current_user->IDor $arguments[‘author’] = get_the_author();
??Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Author as argument query’ is closed to new replies.