我已经找到了解决方案
$current_user = wp_get_current_user();
$userID = $current_user->ID;
$args =array( \'author\' => $userID,\'post_type\' => \'custom_post\' ) ;
$authors_posts = get_posts($args);
foreach ( $authors_posts as $authors_post ) {
$content= $authors_post->post_title;
}
echo $content;