[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress XProfile Classes.
File Size: | 242 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct() X-Ref |
Constructor for the WordPress field type. since: 8.0.0 |
set_field_value( $retval = false, $field_args = array() X-Ref |
Sets the WordPress field value. param: boolean $retval Whether to shortcircuit the $bp->profile->table_name_data table. param: array $field_args { since: 8.0.0 return: boolean Whether to shortcircuit the $bp->profile->table_name_data table. |
get_field_value( $user_id, $field_id = 0 ) X-Ref |
Gets the WordPress field value during an xProfile fields loop. This function is used inside `BP_XProfile_ProfileData::get_data_for_user()` to include the WordPress field value into the xProfile fields loop. param: integer $user_id The user ID. param: integer $field_id The xProfile field ID. since: 8.0.0 return: array An array containing the metadata `id`, `value` and `table_name`. |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |