I have a case like below.
Confused how to use the wpQuery to achieve this
This is for a single user. Not sure how can i pass the array.
global $current_user;
get_currentuserinfo();
$args = array(
'author' => $current_user->ID,
'orderby' => 'random',
'post_per_page' => '1',
'order' => 'ASC'
);
$current_user_posts = get_posts( $args );