do_action_ref_array( 'xprofile_field_before_delete', BP_XProfile_Field $this, bool $delete_data )

Fires before the current field instance gets deleted.

Description

Parameters

$this

(BP_XProfile_Field) Current instance of the field being deleted. Passed by reference.

$delete_data

(bool) Whether or not to delete data.

Source

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

Changelog

Changelog
Version Description
BuddyPress 3.0.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.