apply_filters( 'bp_get_the_profile_field_datebox', string $html, string $value, string $day, string $month, string $year, int $id, string $date )

Filters the output for the profile field datebox.

Description

Parameters

$html

HTML output for the field.

$value

Which date type is being rendered for.

$day

Date formatted for the current day.

$month

Date formatted for the current month.

$year

Date formatted for the current year.

$id

ID of the field object being rendered.

$date

Current date.

Source

File: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.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.