BP_XProfile_Field_Type_URL::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.
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-url.php
public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}
Changelog
Version | Description |
---|---|
BuddyPress 2.1.0 | 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.