Methods |
Description |
---|---|
BP_XProfile_Group::delete() |
Delete a profile field group |
BP_XProfile_Group::fetch_default_visibility_levels() |
Fetch the admin-set preferences for all fields. |
BP_XProfile_Group::fetch_visibility_level() |
Fetch the field visibility level for the fields returned by the query. |
BP_XProfile_Group::get() |
Populates the BP_XProfile_Group object with profile field groups, fields, and field data. |
BP_XProfile_Group::get_group_data() |
Get data about a set of groups, based on IDs. |
BP_XProfile_Group::get_group_meta() | |
BP_XProfile_Group::populate() |
Populate a profile field group. |
BP_XProfile_Group::render_admin_form() |
Output the admin area field group form. |
BP_XProfile_Group::save() |
Save a profile field group. |
BP_XProfile_Group::update_group_meta() | |
BP_XProfile_Group::update_position() |
Update field group position. |
BP_XProfile_Meta_Query::get_sql() |
Generates SQL clauses to be appended to a main query. |
BP_XProfile_Meta_Query::get_sql_for_clause() |
Generate SQL JOIN and WHERE clauses for a first-order query clause. |
BP_XProfile_Meta_Query::is_first_order_clause() |
Determine whether a query clause is first-order. |
BP_XProfile_Meta_Query::parse_query_vars() |
Constructs a meta query based on ‘meta_*’ query vars. |
BP_Xprofile_Profile_Completion_Widget::__construct() |
Constructor. |
BP_Xprofile_Profile_Completion_Widget::delete_pc_loggedin_transient() |
Function trigger when profile updated. Profile field added/updated/deleted. |
BP_Xprofile_Profile_Completion_Widget::delete_pc_transient() |
Function trigger when profile updated. Profile field added/updated/deleted. |
BP_Xprofile_Profile_Completion_Widget::delete_transient_hooks() |
Function add hook to delete transient on various wp-admin and profile settings change. |
BP_Xprofile_Profile_Completion_Widget::delete_transient_query() |
Function deletes Transient based on the transient name specified. |
BP_Xprofile_Profile_Completion_Widget::form() |
Widget settings form. |
BP_Xprofile_Profile_Completion_Widget::get_pc_transient_name() |
Return Transient name using logged in User ID. |
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. |
BP_Xprofile_Profile_Completion_Widget::get_user_progress() |
Function returns logged in user progress based on options selected in the widget form. |
BP_Xprofile_Profile_Completion_Widget::get_user_progress_formatted() |
Function formats user progress to pass on to templates. |
BP_Xprofile_Profile_Completion_Widget::update() |
Callback to save widget settings. |
BP_Xprofile_Profile_Completion_Widget::widget() |
Displays the widget. |
BP_XProfile_ProfileData::__construct() |
BP_XProfile_ProfileData constructor. |
BP_XProfile_ProfileData::delete() |
Delete specific XProfile field data. |
BP_XProfile_ProfileData::delete_data_for_user() |
Delete all data for provided user ID. |
BP_XProfile_ProfileData::delete_for_field() |
Delete field. |
BP_XProfile_ProfileData::exists() |
Check if there is data already for the user. |
BP_XProfile_ProfileData::get_all_for_user() |
Get all of the profile information for a specific user. |
BP_XProfile_ProfileData::get_data_for_user() |
Get a user’s profile data for a set of fields. |
BP_XProfile_ProfileData::get_fielddataid_byid() |
Get the user’s field data id by the id of the xprofile field. |
BP_XProfile_ProfileData::get_fullname() |
Get fullname for provided user ID. |
BP_XProfile_ProfileData::get_last_updated() |
Get time for last XProfile field data update by user. |
BP_XProfile_ProfileData::get_random() |
Get random field type by user ID. |
BP_XProfile_ProfileData::get_value_byfieldname() |
Get profile field values by field name and user ID. |
BP_XProfile_ProfileData::get_value_byid() |
Get profile field values by field ID and user IDs. |
BP_XProfile_ProfileData::is_valid_field() |
Check if this data is for a valid field. |
BP_XProfile_ProfileData::populate() |
Populates the XProfile profile data. |
BP_XProfile_ProfileData::save() |
Save the data for the XProfile field. |
BP_XProfile_Query::__construct() |
Constructor. |
BP_XProfile_Query::find_compatible_table_alias() |
Identify an existing table alias that is compatible with the current query clause. |
BP_XProfile_Query::get_cast_for_type() |
Return the appropriate alias for the given field type if applicable. |
BP_XProfile_Query::get_sql() |
Generates SQL clauses to be appended to a main query. |
BP_XProfile_Query::get_sql_clauses() |
Generate SQL clauses to be appended to a main query. |
BP_XProfile_Query::get_sql_for_clause() |
Generate SQL JOIN and WHERE clauses for a first-order query clause. |
BP_XProfile_Query::get_sql_for_query() |
Generate SQL clauses for a single query array. |