apply_filters( 'bp_get_the_profile_field_options_radio', string $new_html , object $value , int $id , string $selected , string $k )
Filters the HTML output for an individual field options radio button.
Description
Parameters
- $new_html
-
Label and radio input field.
- $value
-
Current option being rendered for.
- $id
-
ID of the field object being rendered.
- $selected
-
Current selected value.
- $k
-
Current index in the foreach loop.
Source
File: bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
Changelog
Version | Description |
---|---|
BuddyPress 1.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.