BP_XProfile_Field_Type_Telephone::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-telephone.php
public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |