[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/includes/ -> class-walker-nav-menu-edit.php (summary)

Navigation Menu API: Walker_Nav_Menu_Edit class

File Size: 322 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Walker_Nav_Menu_Edit:: (3 methods):
  start_lvl()
  end_lvl()
  start_el()


Class: Walker_Nav_Menu_Edit  - X-Ref

Create HTML list of nav menu input items.

start_lvl( &$output, $depth = 0, $args = null )   X-Ref
Starts the list before the elements are added.

param: string   $output Passed by reference.
param: int      $depth  Depth of menu item. Used for padding.
param: stdClass $args   Not used.
since: 3.0.0

end_lvl( &$output, $depth = 0, $args = null )   X-Ref
Ends the list of after the elements are added.

param: string   $output Passed by reference.
param: int      $depth  Depth of menu item. Used for padding.
param: stdClass $args   Not used.
since: 3.0.0

start_el( &$output, $data_object, $depth = 0, $args = null, $current_object_id = 0 )   X-Ref
Start the element output.

param: string   $output            Used to append additional content (passed by reference).
param: WP_Post  $data_object       Menu item data object.
param: int      $depth             Depth of menu item. Used for padding.
param: stdClass $args              Not used.
param: int      $current_object_id Optional. ID of the current menu item. Default 0.
since: 3.0.0
since: 5.9.0 Renamed `$item` to `$data_object` and `$id` to `$current_object_id`



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1