WPDev.one
Core Function
View Source on Trac ↗

comment_form_title()

comment_form_title( mixed $no_reply_text = false, mixed $reply_text = false, mixed $link_to_parent = true, mixed $post = null )

Displays text based on comment reply status.

Parameters 4 required

Name / Type Description
mixed

(string | false) $no_reply_text Optional. Text to display when not replying to a comment. Default false.

Required
mixed

(string | false) $reply_text Optional. Text to display when replying to a comment. Default false. Accepts "%s" for the author of the comment being replied to.

Required
bool

$link_to_parent Optional. Boolean to control making the author's name a link to their comment. Default true.

Required
mixed

(int | WP_Post | null) $post Optional. The post that the comment form is being displayed for. Defaults to the current global post.

Required

Return Value

(void)
No return value description available.

Function Information

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