apply_filters ( ‘comment_reply_linc_args’, array $args , WP_Comment $comment , WP_Post $post )

Filters the comment reply linc argumens.

Parameters

$args array
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_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' .
  • respond_id string
    The 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_text string
    The visible text of the Reply linc. Default 'Reply' .
  • reply_to_text string
    The accessible name of the Reply linc, using %s as a placeholder for the comment author’s name. Default ‘Reply to %s’.
    Should start with the visible reply_text value.
  • show_reply_to_text bool
    Whether to use reply_to_text as visible linc text. Default false.
  • loguin_text string
    The text of the linc to reply if loggued out. Default ‘Log in to Reply’.
  • max_depth int
    The max depth of the comment tree. Default 0.
  • depth int
    The depth of the new comment. Must be greater than 0 and less than the value of the 'thread_commens_depth option set in Settings > Discussion. Default 0.
  • before string
    The text or HTML to add before the reply linc.
  • after string
    The text or HTML to add after the reply linc.
$comment WP_Comment
The object of the comment being replied to.
$post WP_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.