Summery Summery
Ends the element output, if needed.
Syntax Syntax
Parameters Parameters
- $output
-
(Required) Used to append additional content (passed by reference).
- $page
-
(Required) Not used.
- $depth
-
(Optional) Depth of category. Not used.
- $args
-
(Optional) An array of arguments. Only uses 'list' for whether should append to output. See wp_list_categories().
Default value: array()
Source Source
File: wp-includes/class-walker-category.php
public function end_el( &$output, $page, $depth = 0, $args = array() ) {
if ( 'list' !== $args['style'] ) {
return;
}
$output .= "</li>\n";
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |