wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_category_checklist › WordPress Function
Seit2.5.1
Veraltetn/v
› wp_category_checklist ( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true )
Parameter: (6) |
|
Siehe: | |
Definiert in: |
|
Codex: |
Outputs an unordered list of checkbox input elements labeled with category names.
Ähnliche Funktionen: wp_link_category_checklist, wp_terms_checklist, category_exists, wp_popular_terms_checklist, update_category_cache
Quellcode
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, ) ); }