BP_XProfile_Field_Type_Member_Types::__construct()

Constructor for the Member Types field type.

Description

Source

File: bp-xprofile/classes/class-bp-xprofile-field-type-member-types.php

	public function __construct() {
		parent::__construct();

		$this->category = __( 'Multi Fields', 'buddyboss' );
		$this->name     = __( 'Profile Type', 'buddyboss' );

		$this->supports_options = false;

		/**
		 * Fires inside __construct() method for BP_XProfile_Field_Type_Member_Types class.
		 *
		 * @since BuddyBoss 1.1.3
		 *
		 * @param BP_XProfile_Field_Type_Member_Types $this Current instance of
		 *                                               the field type select box.
		 */
		do_action( 'bp_xprofile_field_type_select_member_type_post_type', $this );
	}

Changelog

Changelog
Version Description
BuddyBoss 1.1.3 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.