bp_group_request_time_since_requested()
Output the time when group membership was requested for displayed member.
Description
Source
File: bp-groups/bp-groups-template.php
function bp_group_request_time_since_requested() {
global $requests_template;
/**
* Filters the formatted time since membership was requested.
*
* @since BuddyPress 1.0.0
*
* @param string $value Formatted time since membership was requested.
*/
echo apply_filters( 'bp_group_request_time_since_requested', sprintf( __( 'requested %s', 'buddyboss' ), bp_core_time_since( $requests_template->request->date_modified ) ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 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.