bp_xprofile_get_wp_user_keys()

Returns the list of supporterd WordPress field meta keys.


Return Return

(string[]) List of supported WordPress user keys.


Source Source

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

function bp_xprofile_get_wp_user_keys() {
	return array_merge(
		array( 'first_name', 'last_name', 'user_url', 'description' ),
		array_keys( wp_get_user_contact_methods() )
	);
}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.