Changeset 48597
- Timestamp:
- 07/24/2020 01:09:07 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r48590 r48597 2025 2025 * @type object $walker Instance of a Walker class to list comments. Default null. 2026 2026 * @type int $max_depth The maximum comments depth. Default empty. 2027 * @type string $style The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'. 2027 * @type string $style The style of list ordering. Accepts 'ul', 'ol', or 'div'. 2028 * 'div' will result in no additional list markup. Default 'ul'. 2028 2029 * @type callable $callback Callback function to use. Default null. 2029 2030 * @type callable $end-callback Callback function to use at the end. Default null. 2030 * @type string $type Type of comments to list. 2031 * Default 'all'. Accepts 'all', 'comment', 'pingback', 'trackback', 'pings'.2031 * @type string $type Type of comments to list. Accepts 'all', 'comment', 2032 * 'pingback', 'trackback', 'pings'. Default 'all'. 2032 2033 * @type int $page Page ID to list comments for. Default empty. 2033 2034 * @type int $per_page Number of comments to list per page. Default empty. 2034 2035 * @type int $avatar_size Height and width dimensions of the avatar size. Default 32. 2035 * @type bool $reverse_top_level Ordering of the listed comments. If true, will display newest comments first. 2036 * @type bool $reverse_top_level Ordering of the listed comments. If true, will display 2037 * newest comments first. Default null. 2036 2038 * @type bool $reverse_children Whether to reverse child comments in the list. Default null. 2037 * @type string $format How to format the comments list. 2038 * Default 'html5' if the theme supports it. Accepts 'html5', 'xhtml'.2039 * @type string $format How to format the comments list. Accepts 'html5', 'xhtml'. 2040 * Default 'html5' if the theme supports it. 2039 2041 * @type bool $short_ping Whether to output short pings. Default false. 2040 2042 * @type bool $echo Whether to echo the output or return it. Default true.
Note: See TracChangeset
for help on using the changeset viewer.