bp_xprofile_adjust_display_name( $null,  $object_id,  $meta_key )

Change member display_name for user_metadata.

Description

Source

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

function bp_xprofile_adjust_display_name( $null, $object_id, $meta_key ) {
	if ( $meta_key != 'display_name' ) {
		return $null;
	}

	return bp_custom_display_name_format( $null, $object_id );
}

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.