Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_post_reply_link()

3 tags 1 category

get_post_reply_link() — Retrieves HTML content for reply to post 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 is ‘post’. 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): Text of the Reply link. Default is ‘Leave a Comment’. Field $login_text (string): Text of the link to reply if logged out. Default is ‘Log in to leave a 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: Link to show comment form on success. False if comments are closed.

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…