sanitize_category_field ( $field, $value, $cat_id, $context )
- (string) field Category key to sanitize.
- (mixed) value Category value to sanitize.
- (int) cat_id Category ID.
- (string) context What filter to use, 'raw', 'display', etc.
- (mixed) Same type as $value after $value has been sanitized.
- Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Sanitizes data in single category key field.