BP_XProfile_Field_Type_Radiobutton::admin_field_html( array $raw_properties = array() )
Output HTML for this field type on the wp-admin Profile Fields screen.
Description Description
Must be used inside the bp_profile_fields() template loop.
Parameters Parameters
- $raw_properties
-
(array) (Optional) key/value array of permitted attributes that you want to add.
Default value: array()
Source Source
File: bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
public function admin_field_html( array $raw_properties = array() ) { bp_the_profile_field_options(); if ( bp_get_the_profile_field_is_required() ) { return; } ?> <a class="clear-value" href="javascript:clear( '<?php echo esc_js( bp_get_the_profile_field_input_name() ); ?>' );"> <?php esc_html_e( 'Clear', 'buddypress' ); ?> </a> <?php }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |