My Comments

[insert_php]
if ( is_user_logged_in() ) {
$user_id = get_current_user_id();
$args = array(
‘status’ => ‘approve’,
‘order’ => ‘DESC’,
‘user_id’ => $user_id
);
$comments = get_comments($args);
foreach($comments as $comment) :
echo ‘

‘;
echo($comment->comment_author . ‘
‘ . $comment->comment_content);
echo ‘

‘;
endforeach;
}
[/insert_php]