[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> credits.php (summary)

WordPress Credits Administration API.

File Size: 163 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  wp_credits()
  _wp_credits_add_profile_link()
  _wp_credits_build_object_link()
  wp_credits_section_title()
  wp_credits_section_list()

Functions
Functions that are not part of a class:

wp_credits( $version = '', $locale = '' )   X-Ref
Retrieves the contributor credits.

param: string $version WordPress version. Defaults to the current version.
param: string $locale  WordPress locale. Defaults to the current user's locale.
return: array|false A list of all of the contributors, or false on error.

_wp_credits_add_profile_link( &$display_name, $username, $profiles )   X-Ref
Retrieves the link to a contributor's WordPress.org profile page.

param: string $display_name  The contributor's display name (passed by reference).
param: string $username      The contributor's username.
param: string $profiles      URL to the contributor's WordPress.org profile page.

_wp_credits_build_object_link( &$data )   X-Ref
Retrieves the link to an external library used in WordPress.

param: string $data External library data (passed by reference).

wp_credits_section_title( $group_data = array()   X-Ref
Displays the title for a given group of contributors.

param: array $group_data The current contributor group.

wp_credits_section_list( $credits = array()   X-Ref
Displays a list of contributors for a given group.

param: array  $credits The credits groups returned from the API.
param: string $slug    The current group to display.



Generated : Tue Dec 24 08:20:01 2024 Cross-referenced by PHPXref