WordPress at Your Fingertips
function is not described

Walker::start_el() public WP 2.1.0

Start the element output.

The $args parameter holds additional values that may be used with the child class methods. Includes the element output also.

{} It's a method of the class: Walker{}

No Hooks.


null. Nothing.


$Walker = new Walker();
$Walker->start_el( $output, $object, $depth, $args, $current_object_id );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
$object(object) (required)
The data object.
Depth of the item.
An array of additional arguments.
Default: array()
ID of the current item.


Since 2.1.0 Introduced.

Code of Walker::start_el() WP 5.8.1

public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {}