Make WordPress Core


Ignore:
Timestamp:
10/27/2014 11:44:40 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Add 'comment_reply_link_args' filter for get_comment_reply_link() arguments.

props joedolson, aaroncampbell, DrewAPicture.
fixes #10569.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r29965 r30039  
    13391339        return false;
    13401340    }
     1341
     1342    /**
     1343     * Filter the comment reply link arguments.
     1344     *
     1345     * @since 4.1.0
     1346     *
     1347     * @param array   $args    Comment reply link arguments. See {@see get_comment_reply_link()}
     1348     *                         for more information on accepted arguments.
     1349     * @param object  $comment The object of the comment being replied to.
     1350     * @param WP_Post $post    The WP_Post object.
     1351     */
     1352    $args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
    13411353
    13421354    if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
Note: See TracChangeset for help on using the changeset viewer.