Title: Walker_Category_Checklist::start_lvl
Published: April 25, 2014
Last modified: August 20, 2026

---

# Walker_Category_Checklist::start_lvl( string $output, int $depth, array $args = array() )

## In this article

 * [Description](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#see-also)
 * [Parameters](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#changelog)

Starts the list before the elements are added.

## 󠀁[Description](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#see-also)󠁿

 * [Walker::start_lvl()](https://developer.wordpress.org/reference/classes/Walker/start_lvl/)

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#parameters)󠁿

 `$output`stringrequired

Used to append additional content (passed by reference).

`$depth`intrequired

Depth of category. Used for tab indentation.

`$args`arrayoptional

An array of arguments. See [wp_terms_checklist()](https://developer.wordpress.org/reference/functions/wp_terms_checklist/).

Default:`array()`

## 󠀁[Source](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#source)󠁿

    ```php
    public function start_lvl( &$output, $depth = 0, $args = array() ) {
    	$indent  = str_repeat( "\t", $depth );
    	$output .= "$indent<ul class='children'>\n";
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-walker-category-checklist.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/class-walker-category-checklist.php#L37)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/class-walker-category-checklist.php#L37-L40)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/walker_category_checklist/start_lvl/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.5.1](https://developer.wordpress.org/reference/since/2.5.1/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwalker_category_checklist%2Fstart_lvl%2F)
before being able to contribute a note or feedback.