xprofile_update_field_position( int $field_id, int $position, int $field_group_id )

Update the field position for a provided field.

Description

Parameters

$field_id

(int) (Required) ID of the field to update.

$position

(int) (Required) Position to update the field to.

$field_group_id

(int) (Required) Group ID for group the field is in.

Return

(bool)

Source

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

function xprofile_update_field_position( $field_id, $position, $field_group_id ) {
	return BP_XProfile_Field::update_position( $field_id, $position, $field_group_id );
}

Changelog

Changelog
Version Description
BuddyPress 1.1.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.