Related Codex Documentation
|
Introduced in WordPress![]() |
|
TypeWordPress Function |
Dropped in WordPress![]() |
|
Defined atSee below |
||
Short Description |
||
982: */ 983: function sanitize_term_field($field, $value, $term_id, $taxonomy, $context) { 984: if ( 'parent' == $field || 'term_id' == $field || 'count' == $field || 'term_group' == $field ) {
327: if ( !empty($categories) ) foreach ( (array) $categories as $category ) { 328: $cat_names[] = sanitize_term_field('name', $category->name, $category->term_id, 'category', $filter); 329: }