[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Taxonomy API: Walker_Category_Checklist class

File Size: 138 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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


Class: Walker_Category_Checklist  - X-Ref

Core walker class to output an unordered list of category checkbox input elements.

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  Depth of category. Used for tab indentation.
param: array  $args   An array of arguments. See {@see wp_terms_checklist()}.

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  Depth of category. Used for tab indentation.
param: array  $args   An array of arguments. See {@see wp_terms_checklist()}.

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

param: string  $output            Used to append additional content (passed by reference).
param: WP_Term $data_object       The current term object.
param: int     $depth             Depth of the term in reference to parents. Default 0.
param: array   $args              An array of arguments. See {@see wp_terms_checklist()}.
param: int     $current_object_id Optional. ID of the current term. Default 0.

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

param: string  $output      Used to append additional content (passed by reference).
param: WP_Term $data_object The current term object.
param: int     $depth       Depth of the term in reference to parents. Default 0.
param: array   $args        An array of arguments. See {@see wp_terms_checklist()}.



Generated : Thu Mar 28 08:20:01 2024 Cross-referenced by PHPXref