From 2b9ea8de78eaa29169566aad863e67e7f33276e3 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 25 May 2016 19:34:41 +0000 Subject: [PATCH] Docs: Add missing documentation for the `style` argument in the DocBlock for `wp_list_categories()`. Props birgire for the initial patch. See #36693. git-svn-id: https://develop.svn.wordpress.org/trunk@37569 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index e09551736a..18c041fed7 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -534,6 +534,9 @@ function wp_dropdown_categories( $args = '' ) { * the list. Default false (title will always be shown). * @type int $depth Category depth. Used for tab indentation. Default 0. * @type string $taxonomy Taxonomy name. Default 'category'. + * @type string $style The style used to display the categories list. If 'list', categories + * will be output as an unordered list. If left empty or another value, + * categories will be output separated by `
` tags. Default 'list'. * @type string $separator Separator between links. Default '
'. * } * @return false|string HTML content only if 'echo' argument is 0.