Class walker_nav_edit
Generates the markup for the backend menu-editing elements. Specifically, this is the way to add/remove fields like 'description', 'XFN', etc from each menu item's custom fields.
Note: This class was originally copied from Walker_Nav_Menu_Edit, then modified to accomodate the new custom fields. Other than formatting, code is mostly still the same as the WP original version. Really, this was done largely because there is incredibly little documentation and the meat of this class (start_el) is like one, long, run-on sentence. By keeping things the same, we can help ensure the same WP coverage is there.
Create HTML list of nav menu input items.
- Walker_Nav_Menu
-
bpq\walker_nav_edit
Methods summary
public
|
#
start_lvl( string & $output, integer $depth = 0, array $args = array() )
Starts the list before the elements are added. |
public
|
#
end_lvl( string & $output, integer $depth = 0, array $args = array() )
Ends the list of after the elements are added. |
public
|
#
start_el( string & $output, object $item, integer $depth = 0, array $args = array(), integer $id = 0 )
Start the element output. |