Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php wp_dropdown_categories( 'tab_index=25&taxonomy=ingredient-listing&name=ingredient-listing&show_option_none='.__('Choisir','FoodRecipe').'&hide_empty=0' ); ?>
- <?php wp_category_checklist( 'tab_index=25&taxonomy=ingredient-listing&name=ingredient-listing&show_option_none='.__('Choisir','FoodRecipe').'&hide_empty=0' ); ?>
- 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
- ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement