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

Filters the HTML output for options in a select input.

Description

Parameters

$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-gender.php

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.