wp_category_checklist [ WordPress Function ]
wp_category_checklist ( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true )
| Parameters: |
|
| See: | |
| Defined at: |
|
Benzer Fonksiyonlar: wp_link_category_checklist, wp_terms_checklist, wp_popular_terms_checklist, category_exists, update_category_cache
Output an unordered list of checkbox <input> elements labelled with category names.
Source
<?php
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
) );
}
?>