query_vars['author__in'] = array($user->ID); } } add_filter('parse_query', 'my_parse_query', 100 );