Walker_Category_Checklist::end_lvl
Ends the list of after the elements are added.
Method of the class: Walker_Category_Checklist{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Walker_Category_Checklist = new Walker_Category_Checklist(); $Walker_Category_Checklist->end_lvl( $output, $depth, $args );
- $output(string) (required) (passed by reference — &)
- Used to append additional content (passed by reference).
- $depth(int)
- Depth of category. Used for tab indentation.
- $args(array)
- An array of arguments. See wp_terms_checklist().
Default:array()
Notes
- See: Walker::end_lvl()
Changelog
| Since 2.5.1 | Introduced. |
Walker_Category_Checklist::end_lvl() Walker Category Checklist::end lvl code WP 7.0
public function end_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
$output .= "$indent</ul>\n";
}