wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_category_checklist › WordPress Function
Since2.5.1
Deprecatedn/a
› wp_category_checklist ( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true )
Parameters: (6) |
|
See: | |
Defined at: |
|
Codex: |
Outputs an unordered list of checkbox input elements labeled with category names.
Related Functions: wp_link_category_checklist, wp_terms_checklist, category_exists, wp_popular_terms_checklist, update_category_cache
Source
function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true ) { wp_terms_checklist( $post_id, array( 'taxonomy' => 'category', 'descendants_and_self' => $descendants_and_self, 'selected_cats' => $selected_cats, 'popular_cats' => $popular_cats, 'walker' => $walker, 'checked_ontop' => $checked_ontop, ) ); }