WC_Product_Cat_List_Walker::end_el( string $output, object $cat, int $depth, array $args = array() )
Ends the element output, if needed.
Description Description
See also See also
Parameters Parameters
- $output
-
(Required) Passed by reference. Used to append additional content.
- $cat
-
(Required) Category.
- $depth
-
(Required) Depth of category. Not used.
- $args
-
(Optional) Only uses 'list' for whether should append to output.
Default value: array()
Source Source
File: includes/walkers/class-wc-product-cat-list-walker.php
public function end_el( &$output, $cat, $depth = 0, $args = array() ) {
$output .= "</li>\n";
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |