[ Index ]

PHP Cross Reference of WordPress




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

Taxonomy API: Walker_CategoryDropdown class

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

Defines 1 class

Walker_CategoryDropdown:: (1 method):

Class: Walker_CategoryDropdown  - X-Ref

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

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

since: 2.1.0
param: string  $output   Used to append additional content (passed by reference).
param: WP_Term $category 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     $id       Optional. ID of the current category. Default 0 (unused).

Generated: Tue Jun 15 01:00:05 2021 Cross-referenced by PHPXref 0.7.1