File: bp-xprofile/classes/class-bp-xprofile-profile-completion-widget.php
Description
BP_Xprofile_Profile_Completion_Widget::get_user_progress()

Function returns logged in user progress based on options selected in the widget form.

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

BP_Xprofile_Profile_Completion_Widget::get_user_progress_formatted()

Function formats user progress to pass on to templates.

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

BP_Xprofile_Profile_Completion_Widget::update()

Callback to save widget settings.

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

xprofile_profile_completion_form_update

Fires when updating widget form settings.

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

BP_Xprofile_Profile_Completion_Widget::form()

Widget settings form.

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

xprofile_profile_completion_form

Fires after showing last field in the Widget form.

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

BP_Xprofile_Profile_Completion_Widget::widget()

Displays the widget.

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

xprofile_profile_completion_widget

Fires after showing widget content.

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

BP_Xprofile_Profile_Completion_Widget::get_progress_data()

Function returns user progress data by checking if data already exists in transient first. IF NO then follow checking the progress logic.

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

BP_Xprofile_Profile_Completion_Widget::delete_pc_loggedin_transient()

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

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