apply_filters( 'xprofile_field_default_before_save', string $post_default, BP_XProfile_Field $type )

Filters the default field option value before saved.

Description

Parameters

$post_default

Default option value.

$type

Current field type being saved for.

Source

File: bp-xprofile/classes/class-bp-xprofile-field.php

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

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.