[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

Post API: Walker_PageDropdown class

File Size: 91 lines (2 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, $page, $depth = 0, $args = array()   X-Ref
Starts the element output.

param: string  $output Used to append additional content. Passed by reference.
param: WP_Post $page   Page data object.
param: int     $depth  Optional. Depth of page in reference to parent pages. Used for padding.
param: array   $args   Optional. Uses 'selected' argument for selected page to set selected HTML
param: int     $id     Optional. ID of the current page. Default 0 (unused).



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7