Changeset 48473 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/14/2020 11:54:26 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r48457 r48473 2008 2008 * Optional. Formatting options. 2009 2009 * 2010 * @type object $walker Instance of a Walker class to list comments. Default null.2011 * @type int $max_depth The maximum comments depth. Default empty.2012 * @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'.2013 * @type string$callback Callback function to use. Default null.2014 * @type string$end-callback Callback function to use at the end. Default null.2015 * @type string $type Type of comments to list.2016 * Default 'all'. Accepts 'all', 'comment', 'pingback', 'trackback', 'pings'.2017 * @type int $page Page ID to list comments for. Default empty.2018 * @type int $per_page Number of comments to list per page. Default empty.2019 * @type int $avatar_size Height and width dimensions of the avatar size. Default 32.2020 * @type bool $reverse_top_level Ordering of the listed comments. If true, will display newest comments first.2021 * @type bool $reverse_children Whether to reverse child comments in the list. Default null.2022 * @type string $format How to format the comments list.2023 * Default 'html5' if the theme supports it. Accepts 'html5', 'xhtml'.2024 * @type bool $short_ping Whether to output short pings. Default false.2025 * @type bool $echo Whether to echo the output or return it. Default true.2010 * @type object $walker Instance of a Walker class to list comments. Default null. 2011 * @type int $max_depth The maximum comments depth. Default empty. 2012 * @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'. 2013 * @type callable $callback Callback function to use. Default null. 2014 * @type callable $end-callback Callback function to use at the end. Default null. 2015 * @type string $type Type of comments to list. 2016 * Default 'all'. Accepts 'all', 'comment', 'pingback', 'trackback', 'pings'. 2017 * @type int $page Page ID to list comments for. Default empty. 2018 * @type int $per_page Number of comments to list per page. Default empty. 2019 * @type int $avatar_size Height and width dimensions of the avatar size. Default 32. 2020 * @type bool $reverse_top_level Ordering of the listed comments. If true, will display newest comments first. 2021 * @type bool $reverse_children Whether to reverse child comments in the list. Default null. 2022 * @type string $format How to format the comments list. 2023 * Default 'html5' if the theme supports it. Accepts 'html5', 'xhtml'. 2024 * @type bool $short_ping Whether to output short pings. Default false. 2025 * @type bool $echo Whether to echo the output or return it. Default true. 2026 2026 * } 2027 2027 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects.
Note: See TracChangeset
for help on using the changeset viewer.