[ 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. return: boolean Whether to shortcircuit the $bp->profile->table_name_data table. since: 8.0.0 param: boolean $retval Whether to shortcircuit the $bp->profile->table_name_data table. param: array $field_args { |
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. return: array An array containing the metadata `id`, `value` and `table_name`. since: 8.0.0 param: integer $user_id The user ID. param: integer $field_id The xProfile field ID. |
Generated: Tue Nov 12 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |