Changeset 49936 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 01/05/2021 05:14:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r49384 r49936 26 26 * @see wp_terms_checklist() 27 27 * 28 * @param int $post_id Optional. Post to generate a categories checklist for. Default 0.29 * $selected_cats must not be an array. Default 0.30 * @param int $descendants_and_self Optional. ID of the category to output along with its descendants.31 * Default 0.32 * @param int[] 33 * @param int[] 34 * Default false.35 * @param Walker $walker Optional. Walker object to use to build the output.36 * Default is a Walker_Category_Checklist instance.37 * @param bool $checked_ontop Optional. Whether to move checked items out of the hierarchy and to38 * the top of the list. Default true.28 * @param int $post_id Optional. Post to generate a categories checklist for. Default 0. 29 * $selected_cats must not be an array. Default 0. 30 * @param int $descendants_and_self Optional. ID of the category to output along with its descendants. 31 * Default 0. 32 * @param int[]|false $selected_cats Optional. Array of category IDs to mark as checked. Default false. 33 * @param int[]|false $popular_cats Optional. Array of category IDs to receive the "popular-category" class. 34 * Default false. 35 * @param Walker $walker Optional. Walker object to use to build the output. 36 * Default is a Walker_Category_Checklist instance. 37 * @param bool $checked_ontop Optional. Whether to move checked items out of the hierarchy and to 38 * the top of the list. Default true. 39 39 */ 40 40 function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true ) {
Note: See TracChangeset
for help on using the changeset viewer.