[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Taxonomy API: Walker_Category class

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

Defines 1 class

Walker_Category:: (4 methods):
  start_lvl()
  end_lvl()
  start_el()
  end_el()


Class: Walker_Category  - X-Ref

Core class used to create an HTML list of categories.

start_lvl( &$output, $depth = 0, $args = array()   X-Ref
Starts the list before the elements are added.

param: string $output Used to append additional content. Passed by reference.
param: int    $depth  Optional. Depth of category. Used for tab indentation. Default 0.
param: array  $args   Optional. An array of arguments. Will only append content if style argument
since: 2.1.0

end_lvl( &$output, $depth = 0, $args = array()   X-Ref
Ends the list of after the elements are added.

param: string $output Used to append additional content. Passed by reference.
param: int    $depth  Optional. Depth of category. Used for tab indentation. Default 0.
param: array  $args   Optional. An array of arguments. Will only append content if style argument
since: 2.1.0

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

param: string $output   Used to append additional content (passed by reference).
param: object $category Category data object.
param: int    $depth    Optional. Depth of category in reference to parents. Default 0.
param: array  $args     Optional. An array of arguments. See wp_list_categories(). Default empty array.
param: int    $id       Optional. ID of the current category. Default 0.
since: 2.1.0

end_el( &$output, $page, $depth = 0, $args = array()   X-Ref
Ends the element output, if needed.

param: string $output Used to append additional content (passed by reference).
param: object $page   Not used.
param: int    $depth  Optional. Depth of category. Not used.
param: array  $args   Optional. An array of arguments. Only uses 'list' for whether should append
since: 2.1.0



Generated: Thu Sep 19 01:00:03 2019 Cross-referenced by PHPXref 0.7.1