Make WordPress Core

Ticket #19581: 19581.2.diff

File 19581.2.diff, 641 bytes (added by hlashbrooke, 12 years ago)

Adding hook docs to filter

  • wp-includes/comment-template.php

     
    19181918
    19191919        $r = wp_parse_args( $args, $defaults );
    19201920
     1921        /**
     1922         * Filter the arguments used in retrieving the comment list.
     1923         *
     1924         * @since 4.0.0
     1925         *
     1926         * @param array $r An array of arguments for displaying comments.
     1927         */
     1928        $r = apply_filters( 'wp_list_comments_args', $r );
     1929
    19211930        // Figure out what comments we'll be looping through ($_comments)
    19221931        if ( null !== $comments ) {
    19231932                $comments = (array) $comments;