Walker::start_lvl()publicWP 2.1.0

Starts the list before the elements are added.

The $args parameter holds additional values that may be used with the child class methods. This method is called at the start of the output list.

Метод класса: Walker{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Walker = new Walker();
$Walker->start_lvl( $output, $depth, $args );
$output(строка) (обязательный) (передается по ссылке — &)
Used to append additional content (passed by reference).
$depth(int)
Depth of the item.
$args(массив)
An array of additional arguments.
По умолчанию: array()

Список изменений

С версии 2.1.0 Введена.

Код Walker::start_lvl() WP 6.5.2

public function start_lvl( &$output, $depth = 0, $args = array() ) {}