_wp_credits_add_profile_link
Retrieve the link to a contributor's WordPress.org profile page.
Description
Parameters (3)
- 0. $display_name (string) =>
&$display_name
- The contributor's display name, passed by reference.
- 1. $username (string)
- The contributor's username.
- 2. $profiles (string)
- URL to the contributor's WordPress.org profile page.
Usage
if ( !function_exists( '_wp_credits_add_profile_link' ) ) { require_once ABSPATH . '/wp-admin/includes/credits.php'; } // The contributor's display name, passed by reference. $display_name = &$display_name; // The contributor's username. $username = ''; // URL to the contributor's WordPress.org profile page. $profiles = ''; // NOTICE! Understand what this does before running. $result = _wp_credits_add_profile_link($display_name, $username, $profiles);
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/credits.php
- function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) {
- }