Skip to content

Commit b705faa

Browse files
DrewAPictureDrewAPicture
authored andcommitted
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
1 parent ab71d50 commit b705faa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wp-includes/category-template.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,9 @@ function wp_dropdown_categories( $args = '' ) {
534534
* the list. Default false (title will always be shown).
535535
* @type int $depth Category depth. Used for tab indentation. Default 0.
536536
* @type string $taxonomy Taxonomy name. Default 'category'.
537+
* @type string $style The style used to display the categories list. If 'list', categories
538+
* will be output as an unordered list. If left empty or another value,
539+
* categories will be output separated by `<br>` tags. Default 'list'.
537540
* @type string $separator Separator between links. Default '<br />'.
538541
* }
539542
* @return false|string HTML content only if 'echo' argument is 0.

0 commit comments

Comments
 (0)