Extending bp-xprofile filter/hook
It would be great if you could add filter/hook to dynamically override required attribute.
LINE TO REPLACE: (587)
return (bool) $retval;
REPLACEMENT CODE LIKE:
return (bool) apply_filters( ‘xprofile_check_is_required_field’, $retval, $field_id );
- You must be logged in to reply to this topic.