Walker_Category_Checklist::end_lvl()publicWP 2.5.1

Ends the list of after the elements are added.

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

Хуков нет.

Возвращает

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

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

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

Заметки

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

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

Код Walker_Category_Checklist::end_lvl() WP 6.5.2

public function end_lvl( &$output, $depth = 0, $args = array() ) {
	$indent  = str_repeat( "\t", $depth );
	$output .= "$indent</ul>\n";
}