apply_filters( 'xprofile_validate_field' )

Certain types of fields (checkboxes, multiselects) may come through empty.

Description

Save as empty array so this isn’t overwritten by the default on next edit.

Special-case support for integer 0 for the number field type

Source

File: bp-xprofile/bp-xprofile-functions.php

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.