[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Taxonomy API: Walker_Category_Checklist class
File Size: | 138 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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 wp_terms_checklist() since: 2.5.1 |
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 wp_terms_checklist() since: 2.5.1 |
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 wp_terms_checklist() param: int $current_object_id Optional. ID of the current term. Default 0. since: 2.5.1 since: 5.9.0 Renamed `$category` to `$data_object` and `$id` to `$current_object_id` |
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 wp_terms_checklist() since: 2.5.1 since: 5.9.0 Renamed `$category` to `$data_object` to match parent class for PHP 8 named parameter support. |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |