bp_profile_last_updated()

Render a formatted string displaying when a profile was last updated.

Description

Source

File: bp-xprofile/bp-xprofile-template.php

function bp_profile_last_updated() {

	$last_updated = bp_get_profile_last_updated();

	if ( empty( $last_updated ) ) {
		_e( 'Profile not recently updated.', 'buddyboss' );
	} else {
		echo $last_updated;
	}
}

Changelog

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.