58 | | * @param unknown_type $post_id |
59 | | * @param unknown_type $descendants_and_self |
60 | | * @param unknown_type $selected_cats |
61 | | * @param unknown_type $popular_cats |
| 61 | * @param int $post_id Optional. If provided and $selected_cats is false, categories attached to post will be checked in list. |
| 62 | * @param int $descendants_and_self Optional. Categories will be this term id along with its descendants. |
| 63 | * @param boolean|array $selected_cats Optional. These categories in the list will be checked. |
| 64 | * @param boolean|array $popular_cats Optional. These categories in the list will receive the class 'popular-category' |
| 65 | * @param object $walker Optional. Walker object used in display of list. |
| 66 | * @param boolean $checked_ontop Optional. Display the checked items in the list first. |
| 67 | * |
| 68 | * @see Walker |
147 | | * |
148 | | * @param unknown_type $taxonomy |
149 | | * @param unknown_type $default |
150 | | * @param unknown_type $number |
151 | | * @param unknown_type $echo |
152 | | * @return unknown |
153 | | */ |
154 | | function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $echo = true ) { |
| 156 | * |
| 157 | * @uses $post_id |
| 158 | * |
| 159 | * @param string|array $taxonomies The taxonomies to retrieve terms from. |
| 160 | * @param string $depreciated Optional. Unused. |
| 161 | * @param int $number Optional. The number of terms to return. Default is 10. |
| 162 | * @param boolean $echo Optional. Whether to echo as well as return the result. Default is true. |
| 163 | * @return array An array of the term ids. |
| 164 | */ |
| 165 | function wp_popular_terms_checklist( $taxonomy, $default = null, $number = 10, $echo = true ) { |