Glossary Term
get_comment_reply_link()
get_comment_reply_link() — Retrieves HTML content for reply to comment link.
Inputs: $args (array): Optional. Override default arguments. Field $add_below (string): The first part of the selector used to identify the comment to respond below. The resulting value is passed as the first parameter to addComment.moveForm(), concatenated as $add_below-$comment->comment_ID. Default ‘comment’. Field $respond_id (string): The selector identifying the responding comment. Passed as the third parameter to addComment.moveForm(), and appended to the link URL as a hash value. Default ‘respond’. Field $reply_text (string): The visible text of the Reply link. Default ‘Reply’. Field $reply_to_text (string): The accessible name of the Reply link, using %s as a placeholder for the comment author’s name. Default ‘Reply to %s’. $comment (int|WP_Comment): Optional. Comment being replied to. Default current comment. $post (int|WP_Post): Optional. Post ID or WP_Post object the comment is going to be displayed on. Default current post.
Returns string|false|null: Link to show comment form on success. False if comments are closed. Null on failure.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
