In WordPress, comment_form_title() prints the heading above the comment form. It shows Leave a Reply by default.
When a visitor replies to a comment, it shows Leave a Reply to Jane Doe. It works for visitors whose JavaScript is off, or when the reply script is not loaded.
Syntax
Call it with no text for the defaults, or set the two texts. Use %s for the name.
WordPress
comment_form_title();
comment_form_title( 'Leave a comment', 'Reply to %s' );
comment_form_title( 'Leave a comment', 'Reply to %s', false );
Call
What it does
comment_form_title()
Prints the default heading text.
comment_form_title( 'Leave a comment', 'Reply to %s' )
Prints your own heading and reply text.
comment_form_title( 'Leave a comment', 'Reply to %s', false )
Prints the author name without a link.
comment_form() already prints this heading in its own title area.