bp_xprofile_delete_profile_completion_transient()

Function trigger when profile updated. Profile field added/updated/deleted.

Description

Deletes Profile Completion Transient here.

Source

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

1036
1037
1038
1039
1040
1041
function bp_xprofile_delete_profile_completion_transient() {
 
    // Delete all users all widget transients from options table.
    $transient_name_prefix = '%_transient_' . bp_core_get_profile_completion_key() . '%';
    bp_core_delete_transient_query( $transient_name_prefix );
}

Changelog

Changelog
Version Description
BuddyBoss 1.4.9 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.