Core Function
View Source on Trac ↗ wp_terms_checklist()
wp_terms_checklist( mixed $post_id = 0, mixed $args = array() ) Outputs an unordered list of checkbox input elements labelled with term names.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $post_id int | Optional. Post ID. Default 0. |
| mixed | (array | string) $args { Optional. Array or string of arguments for generating a terms checklist. Default empty array. Required |
Return Value
(string)
HTML list of input elements.
Function Information
Since Version
3.0.0
Source File
wp-admin/includes/template.php
Advertisement