bp_xprofile_update_fieldgroup_meta( int $field_group_id, string $meta_key, string $meta_value )

Updates the fieldgroup metadata.

Description

Parameters

$field_group_id

(int) (Required) Group ID for the group field belongs to.

$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_fieldgroup_meta( $field_group_id, $meta_key, $meta_value ) {
	return bp_xprofile_update_meta( $field_group_id, 'group', $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.