[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Navigation Menu API: Walker_Nav_Menu_Edit class

File Size: 350 lines (14 kb)
Included or required: 1 time
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.

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.

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.



Generated : Tue Dec 17 08:20:01 2024 Cross-referenced by PHPXref