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

(string) Label and radio input field.

$value

(object) Current option being rendered for.

$id

(int) ID of the field object being rendered.

$selected

(string) Current selected value.

$k

(string) Current index in the foreach loop.

Source

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

Changelog

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.