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

This method usually outputs HTML for this field type’s children options on the wp-admin Profile Fields “Add Field” and “Edit Field” screens, but for this field type, we don’t want it, so it’s stubbed out.


Parameters 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 Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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