bp_xprofile_update_field_meta( int $field_id, string $meta_key, string $meta_value )

Updates the field metadata.

Description

Parameters

$field_id

(int) (Required) Field ID to update.

$meta_key

(string) (Required) Meta key to update.

$meta_value

(string) (Required) Meta value to update to.

Return

(bool|int)

Source

File: bp-xprofile/bp-xprofile-functions.php

function bp_xprofile_update_field_meta( $field_id, $meta_key, $meta_value ) {
	return bp_xprofile_update_meta( $field_id, 'field', $meta_key, $meta_value );
}

Changelog

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.