This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BP_XProfile_Field_Type_Member_Types::get_selected_post_type( int $field_id )

Get the terms content.

Description

Parameters

$field_id

(int) (Required) field id.

Return

(string)

Source

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

	private static function get_selected_post_type( $field_id ) {

		if ( ! $field_id ) {
			return '';
		}

		return bp_xprofile_get_meta( $field_id, 'field', 'selected_post_type', true );
	}

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.