BP_XProfile_Group::__construct( int|null $id = null )

Initialize and/or populate profile field group.

Description

Parameters

$id

(int|null) (Optional) Field group ID.

Default value: null

Source

File: bp-xprofile/classes/class-bp-xprofile-group.php

	public function __construct( $id = null ) {
		if ( ! empty( $id ) ) {
			$this->populate( $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.