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
This commit is contained in:
parent
add75910c9
commit
2b9ea8de78
|
@ -534,6 +534,9 @@ function wp_dropdown_categories( $args = '' ) {
|
||||||
* the list. Default false (title will always be shown).
|
* the list. Default false (title will always be shown).
|
||||||
* @type int $depth Category depth. Used for tab indentation. Default 0.
|
* @type int $depth Category depth. Used for tab indentation. Default 0.
|
||||||
* @type string $taxonomy Taxonomy name. Default 'category'.
|
* @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 `<br>` tags. Default 'list'.
|
||||||
* @type string $separator Separator between links. Default '<br />'.
|
* @type string $separator Separator between links. Default '<br />'.
|
||||||
* }
|
* }
|
||||||
* @return false|string HTML content only if 'echo' argument is 0.
|
* @return false|string HTML content only if 'echo' argument is 0.
|
||||||
|
|
Loading…
Reference in New Issue