[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

WordPress Credits Administration API.

File Size: 166 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
Retrieve the contributor credits.

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

_wp_credits_add_profile_link( &$display_name, $username, $profiles )   X-Ref
Retrieve 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.
since: 3.2.0

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

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

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.
since: 5.3.0

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.
since: 5.3.0



Generated: Sat Nov 23 01:00:02 2024 Cross-referenced by PHPXref 0.7.1