bp_xprofile_update_fielddata_meta( int $field_data_id, string $meta_key, string $meta_value )
Updates the fielddata metadata.
Description
Parameters
- $field_data_id
-
(Required) Field ID to update.
- $meta_key
-
(Required) Meta key to update.
- $meta_value
-
(Required) Meta value to update to.
Return
(bool|int)
Source
File: bp-xprofile/bp-xprofile-functions.php
function bp_xprofile_update_fielddata_meta( $field_data_id, $meta_key, $meta_value ) { return bp_xprofile_update_meta( $field_data_id, 'data', $meta_key, $meta_value ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.5.0 | Introduced. |
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.