WordPress at Your Fingertips
function is not described

_wp_credits_add_profile_link() WP 3.2.0

Retrieve the link to a contributor's WordPress.org profile page.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Nothing.

Usage

_wp_credits_add_profile_link( $display_name, $username, $profiles );
$display_name(string) (required) (passed by reference — &)
The contributor's display name (passed by reference).
$username(string) (required)
The contributor's username.
$profiles(string) (required)
URL to the contributor's WordPress.org profile page.

Changelog

Since 3.2.0 Introduced.

Code of _wp_credits_add_profile_link() WP 5.8.2

function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) {
	$display_name = '<a href="' . esc_url( sprintf( $profiles, $username ) ) . '">' . esc_html( $display_name ) . '</a>';
}