WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/06/2014 11:57:36 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Add a filter for wp_list_comments() arguments.

props greenshady, hlashbrooke.
fixes #19581.

File:
1 edited

Legend:

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

    r28083 r28285  
    19181918
    19191919    $r = wp_parse_args( $args, $defaults );
     1920
     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 );
    19201929
    19211930    // Figure out what comments we'll be looping through ($_comments)
Note: See TracChangeset for help on using the changeset viewer.