apply_filters( 'bp_get_the_profile_field_options_select', object $value, int $id, string $selected, string $k )

Filters the HTML output for options in a select input.

Description

Parameters

$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-selectbox.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.