wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_category_checklist › WordPress Function
Depuis2.5.1
Dépréciéen/a
› wp_category_checklist ( $post_id = 0, $descendants_and_self = 0, $selected_cats = false, $popular_cats = false, $walker = null, $checked_ontop = true )
Paramètres: (6) |
|
Voir: | |
Défini(e) dans: |
|
Codex: |
Outputs an unordered list of checkbox input elements labeled with category names.
Fonctions en relation: 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, ) ); }