WC_Product_Cat_List_Walker::end_el
Ends the element output, if needed.
Метод класса: WC_Product_Cat_List_Walker{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Product_Cat_List_Walker = new WC_Product_Cat_List_Walker(); $WC_Product_Cat_List_Walker->end_el( $output, $cat, $depth, $args );
- $output(строка) (обязательный) (передается по ссылке — &)
- Passed by reference. Used to append additional content.
- $cat(объект) (обязательный)
- Category.
- $depth(int)
- Depth of category. Not used.
- $args(массив)
- Only uses
'list'for whether should append to output.
По умолчанию:array()
Заметки
- Смотрите: Walker::end_el()
Список изменений
| С версии 2.1.0 | Введена. |
Код WC_Product_Cat_List_Walker::end_el() WC Product Cat List Walker::end el WC 10.5.2
public function end_el( &$output, $cat, $depth = 0, $args = array() ) {
$output .= "</li>\n";
}