BP_XProfile_Field::__isset( string $key )

Magic issetter.

Description

Parameters

$key

(Required) Property name.

Return

(bool)

Source

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

	public function __isset( $key ) {
		switch ( $key ) {
			// Backward compatibility for when these were public methods.
			case 'allow_custom_visibility' :
			case 'default_visibility' :
				return true;
				break;
		}
	}

Changelog

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