WPDev.one
Core Function
View Source on Trac ↗

comment_type()

comment_type( mixed $commenttxt = false, mixed $trackbacktxt = false, mixed $pingbacktxt = false )

Displays the comment type of the current comment.

Parameters 3 required

Name / Type Description
(string

| false) $commenttxt Optional. String to display for comment type. Default false.

Required
(string

| false) $trackbacktxt Optional. String to display for trackback type. Default false.

Required
(string

| false) $pingbacktxt Optional. String to display for pingback type. Default false.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
0.71
Source File
wp-includes/comment-template.php
Advertisement