BP_XProfile_Field_Type_Multiselectbox::admin_new_field_html( BP_XProfile_Field $current_field, string $control_type = '' )

Output HTML for this field type’s children options on the wp-admin Profile Fields, “Add Field” and “Edit Field” screens.

Description Description

Must be used inside the bp_profile_fields() template loop.

Top ↑

Parameters Parameters


(BP_XProfile_Field) (Required) The current profile field on the add/edit screen.


(string) (Optional) HTML input type used to render the current field's child options.

Default value: ''

Source Source

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

	public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {
		parent::admin_new_field_html( $current_field, 'checkbox' );

Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.