45 * |
45 * |
46 * @since 2.1.0 |
46 * @since 2.1.0 |
47 * |
47 * |
48 * @see Walker::start_el() |
48 * @see Walker::start_el() |
49 * |
49 * |
50 * @param string $output Used to append additional content (passed by reference). |
50 * @param string $output Used to append additional content (passed by reference). |
51 * @param object $category Category data object. |
51 * @param WP_Term $category Category data object. |
52 * @param int $depth Depth of category. Used for padding. |
52 * @param int $depth Depth of category. Used for padding. |
53 * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist. |
53 * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist. |
54 * See wp_dropdown_categories(). |
54 * See wp_dropdown_categories(). |
55 * @param int $id Optional. ID of the current category. Default 0 (unused). |
55 * @param int $id Optional. ID of the current category. Default 0 (unused). |
56 */ |
56 */ |
57 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { |
57 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { |
58 $pad = str_repeat( ' ', $depth * 3 ); |
58 $pad = str_repeat( ' ', $depth * 3 ); |
59 |
59 |
60 /** This filter is documented in wp-includes/category-template.php */ |
60 /** This filter is documented in wp-includes/category-template.php */ |