[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Navigation Menu API: Walker_Nav_Menu_Checklist class
File Size: | 127 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Walker_Nav_Menu_Checklist:: (4 methods):
__construct()
start_lvl()
end_lvl()
start_el()
Class: Walker_Nav_Menu_Checklist - X-Ref
Create HTML list of nav menu input items.__construct( $fields = false ) X-Ref |
param: array|false $fields Database fields to use. |
start_lvl( &$output, $depth = 0, $args = null ) X-Ref |
Starts the list before the elements are added. param: string $output Used to append additional content (passed by reference). param: int $depth Depth of page. 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 Used to append additional content (passed by reference). param: int $depth Depth of page. 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: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |