You must specify the author
parameter as described here. Try to use:
$args_my_items = array(
'posts_per_page' => 10,
'post_type' => 'mycustomposttype',
'author' => $current_user->ID
);
query_posts($args_my_items);
You must specify the author
parameter as described here. Try to use:
$args_my_items = array(
'posts_per_page' => 10,
'post_type' => 'mycustomposttype',
'author' => $current_user->ID
);
query_posts($args_my_items);