我自己发现的:
<?php
$post_ids = get_posts(array(
\'fields\' => \'ids\', // Only get post IDs
\'posts_per_page\' => -1,
\'author\' => get_current_user_id(),
\'post_type\' => \'post\',
\'category\' => 0,
\'orderby\' => \'date\',
\'order\' => \'DESC\',
));
foreach($post_ids as $post_id) :
$argss = array(
\'post_id\' => $post_id,
\'status\' => \'approve\',
\'author__not_in\' => get_current_user_id(),
);
$comments = get_comments($argss);
foreach($comments as $comment) :
echo "<div class=comment_listt>";
echo \'<i style="padding-left: 6px; font-size: 13px;">\'. $comment->comment_author .\'</i>\';
$greg_date = $comment->comment_date ; echo \'(<i style="font-size: 13px;">\'.jdate(\'d-m-Y H:i:s\',strtotime($greg_date)).\'</i>)\';
echo \'<p style="padding:10px 0 0 0;">\'. $comment->comment_content .\'</p>\';
echo "<a href=\'". get_comment_link($comment->comment_ID)."\'>go to reply</a></div>";
endforeach;
endforeach;
?>