BP_Xprofile_Profile_Completion_Widget::delete_pc_transient()
Function trigger when profile updated. Profile field added/updated/deleted.
Description
Deletes Profile Completion Transient here.
Source
File: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php
function delete_pc_transient() {
// Delete all users all widhets transients from options table.
$transient_name_prefix = '%_transient_' . $this->transient_key . '%';
$this->delete_transient_query( $transient_name_prefix );
}
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.