Backend_Walker::start_el( string $output, WP_Post $item, int $depth, stdClass $args = null, int $id )

Start the element output.


Parameters

$output

(Required) Passed by reference. Used to append additional content.

$item

(Required) Menu item data object.

$depth

(Required) Depth of menu item. Used for padding.

$args

(Optional) Menu item args.

Default value: null

$id

(Required) Nav menu ID.


Source

File: includes/modules/header_footer_grid/mega_menu/backend_walker.php