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:

Description

Sanitizes POST values from a checkbox taxonomy metabox.

Related Functions

taxonomy_meta_box_sanitize_cb_input, wp_nav_menu_taxonomy_meta_boxes, rest_sanitize_object

Top Google Results

User discussions

wpseek mobile