bp_dd_friends_add_friend_date_fix( string $current_time )

Fix the date issue, when all member connections are done at the same time.

Description

Parameters

$current_time

(string) (Required) Default BuddyBoss current timestamp.

Return

(string)

Source

File: bp-core/bp-core-tools-default-data.php

function bp_dd_friends_add_friend_date_fix( $current_time ) {
	return strtotime( bp_dd_get_random_date( 43 ) );
}

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.