Walker_Category_Checklist::end_el()publicWP 2.5.1

Ends the element output, if needed.

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

Хуков нет.

Возвращает

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

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

$Walker_Category_Checklist = new Walker_Category_Checklist();
$Walker_Category_Checklist->end_el( $output, $data_object, $depth, $args );
$output(строка) (обязательный) (передается по ссылке — &)
Used to append additional content (passed by reference).
$data_object(WP_Term) (обязательный)
The current term object.
$depth(int)
Depth of the term in reference to parents.
$args(массив)
An array of arguments. See wp_terms_checklist().
По умолчанию: array()

Заметки

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

С версии 2.5.1 Введена.
С версии 5.9.0 Renamed $category to $data_object to match parent class for PHP 8 named parameter support.

Код Walker_Category_Checklist::end_el() WP 6.5.2

public function end_el( &$output, $data_object, $depth = 0, $args = array() ) {
	$output .= "</li>\n";
}