Walker::start_el( string $output, object $object, int $depth, array $args = array(), int $current_object_id )
Start the element output.
Description Description
The $args parameter holds additional values that may be used with the child class methods. Includes the element output also.
Parameters Parameters
- $output
-
(string) (Required) Used to append additional content (passed by reference).
- $object
-
(object) (Required) The data object.
- $depth
-
(int) (Required) Depth of the item.
- $args
-
(array) (Optional) An array of additional arguments.
Default value: array()
- $current_object_id
-
(int) (Required) ID of the current item.
Source Source
File: wp-includes/class-wp-walker.php
public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |