[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Taxonomy API: Walker_CategoryDropdown class

File Size: 86 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.
since: 2.1.0
since: 5.9.0 Renamed `$category` to `$data_object` and `$id` to `$current_object_id`



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1