[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ -> class-walker-page-dropdown.php (summary)

Post API: Walker_PageDropdown class

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

Defines 1 class

Walker_PageDropdown:: (1 method):
  start_el()


Class: Walker_PageDropdown  - X-Ref

Core class used to create an HTML drop-down list of pages.

start_el( &$output, $data_object, $depth = 0, $args = array()   X-Ref
Starts the element output.

since: 2.1.0
since: 5.9.0 Renamed `$page` to `$data_object` and `$id` to `$current_object_id`
param: string  $output            Used to append additional content. Passed by reference.
param: WP_Post $data_object       Page data object.
param: int     $depth             Optional. Depth of page in reference to parent pages.
param: array   $args              Optional. Uses 'selected' argument for selected page to
param: int     $current_object_id Optional. ID of the current page. Default 0.



Generated: Sun Apr 28 01:00:03 2024 Cross-referenced by PHPXref 0.7.1