Function:
mp_core_comment()
Purpose:
This function is used as a callback by wp_list_comments() for displaying each comment.
Overview:
This is useful because it already makes use of other MP Core functions to get retina sized avatar images and helps to keep comment areas standardized in themes which use the MP Core plugin.
The avatar size for comments is controlled using the ‘mp_core_avatar_size’ filter.
Usage:
In the comments.php template for your theme, you can use this template tag to show comments.
wp_list_comments( array( 'callback' => 'mp_core_comment' ) );
Parameters:
None.
Output:
A comment with an avatar, date, reply link.