[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Taxonomy API: Walker_CategoryDropdown class

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

Defines 1 class

Walker_CategoryDropdown:: (1 method):
  start_el()


Class: Walker_CategoryDropdown  - X-Ref

Core class used to create an HTML dropdown list of Categories.

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

param: string  $output            Used to append additional content (passed by reference).
param: WP_Term $data_object       Category data object.
param: int     $depth             Depth of category. Used for padding.
param: array   $args              Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
param: int     $current_object_id Optional. ID of the current category. Default 0.



Generated : Fri Mar 29 08:20:02 2024 Cross-referenced by PHPXref