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

Prevent any HTML being output for this field type.

Description

Parameters

$current_field

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

$control_type

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

Default value: ''

Source

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

	public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}

Changelog

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