We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
style
wp_list_categories()
1 parent ab71d50 commit b705faaCopy full SHA for b705faa
src/wp-includes/category-template.php
@@ -534,6 +534,9 @@ function wp_dropdown_categories( $args = '' ) {
534
* the list. Default false (title will always be shown).
535
* @type int $depth Category depth. Used for tab indentation. Default 0.
536
* @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'.
540
* @type string $separator Separator between links. Default '<br />'.
541
* }
542
* @return false|string HTML content only if 'echo' argument is 0.
0 commit comments