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

(string) HTML output for the field.

$value

(string) Which date type is being rendered for.

$day

(string) Date formatted for the current day.

$month

(string) Date formatted for the current month.

$year

(string) Date formatted for the current year.

$id

(int) ID of the field object being rendered.

$date

(string) 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.