taxonomy_meta_box_sanitize_cb_checkboxes
taxonomy_meta_box_sanitize_cb_checkboxes ( $taxonomy, $terms )
Parameters:- (string) taxonomy The taxonomy name.
- (array) terms Raw term data from the 'tax_input' field.
Returns:- (int[]) Array of sanitized term IDs.
Defined at: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: —
Description
Sanitizes POST values from a checkbox taxonomy metabox.