BP_Xprofile_Profile_Completion_Widget::get_pc_transient_name()

Return Transient name using logged in User ID.

Description

Return

(string)

Source

File: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php

211
212
213
214
215
216
217
218
function get_pc_transient_name() {
 
    $user_id           = get_current_user_id();
    $pc_transient_name = $this->transient_key . $user_id . $this->widget_id;
 
    return $pc_transient_name;
 
}

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.