The following example outputs the number of comments of the author with the current comment in the comment loop..
In case you want to set the default parameters globally rather than handing them over on every function call, you can add the filter featuring countcomments defaults in for example featuring-countcomments php or your own customization plugin ..
Please note that parameters which you hand over to function call will always override the defaults parameters, even if they have been set by filter or in the admin menu. featuring countcomments dashboard widget.
Receives array which is used for the dashboard-widget-function call to $featuring countcomments->count by user display and format will be set to true and user parameter to null to receive the user's count. featuring countcomments dashboard widget text.
Receives string which is used in the dashboard-widget %c will be replaced by the comment count of the user.
Receives array which is used for the dashboard-right-now-box-function call to $featuring countcomments->count by user display and format will be set to true and user parameter to null to retrieve the comment count of currently logged in user. featuring countcomments dashboard right now text.
Receives string which is used in the right-now box on the dashboard %c will be replaced by the comment count of the user.
Receives array which is used for the user-profile-function call to $featuring countcomments->count by user display and format will be set to true and user parameter to null to retrieve the comment count of currently logged in user. featuring countcomments user profile text.
Receives string which is used in the user's profile page %c will be replaced by the comment count of the user.
Receives array which is used for the users-page-function call to $featuring countcomments->count by user display and format will be set to true and user parameter to the user-id of each row to retrieve the user's comment count...
Read more