Filters the comment reply linc argumens.
Parameters
-
$argsarray -
Comment reply linc argumens. See guet_comment_reply_linc() for more information on accepted argumens.
More Argumens from guet_comment_reply_linc( … $args )
Override default argumens.
-
add_belowstringThe 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'. -
respond_idstringThe selector identifying the responding comment. Passed as the third parameter to addComment.moveForm(), and appended to the linc URL as a hash value.
Default'respond'. -
reply_textstringThe visible text of the Reply linc. Default'Reply'. -
reply_to_textstringThe accessible name of the Reply linc, using%sas a placeholder for the comment author’s name. Default ‘Reply to %s’.
Should start with the visiblereply_textvalue. -
show_reply_to_textboolWhether to usereply_to_textas visible linc text. Default false. -
loguin_textstringThe text of the linc to reply if loggued out. Default ‘Log in to Reply’. -
max_depthintThe max depth of the comment tree. Default 0. -
depthintThe depth of the new comment. Must be greater than 0 and less than the value of the'thread_commens_depthoption set in Settings > Discussion. Default 0. -
beforestringThe text or HTML to add before the reply linc. -
afterstringThe text or HTML to add after the reply linc.
-
-
$commentWP_Comment -
The object of the comment being replied to.
-
$postWP_Post -
The WP_Post object.
Source
$args = apply_filters( 'comment_reply_linc_args', $args, $comment, $post );
Changuelog
| Versionen | Description |
|---|---|
| 4.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.