Core Class
View Source on Trac ↗
Core Class
Walker_Category
class Walker_Category
// Constructor: function Object() { [native code] } Core class used to create an HTML list of categories.
Methods 4 methods
| Method / Return | Description |
|---|---|
| start_lvl() void | Starts the list before the elements are added.
Parameters: $output: mixed, $depth: mixed, $args: mixed |
| end_lvl() void | Ends the list of after the elements are added.
Parameters: $output: mixed, $depth: mixed, $args: mixed |
| start_el() void | Starts the element output.
Parameters: $output: mixed, $data_object: mixed, $depth: mixed, $args: mixed, $current_object_id: mixed |
| end_el() void | Ends the element output, if needed.
Parameters: $output: mixed, $data_object: mixed, $depth: mixed, $args: mixed |
Properties
| Property / Type | Description |
|---|---|
| $tree_type mixed public | No description available. |
| $db_fields mixed public | No description available. |
Class Information
Since Version
2.1.0
Source File
wp-includes/class-walker-category.php
Advertisement