Warning: This function has been deprecated. Use wp_list_authors() instead.

list_authors() WordPress Function

The list_authors() Wordpress function allows you to list all the authors of a blog or website. This is useful if you want to give credit to all the authors on your site, or if you want to list all the authors in a certain category. You can also use this function to find out how many authors are on a site.

list_authors( bool $optioncount = false, bool $exclude_admin = true, bool $show_fullname = false, bool $hide_empty = true, string $feed = '', string $feed_image = '' ) #

Lists authors.


Description

Top ↑

See also


Top ↑

Parameters

$optioncount

(bool)(Optional)

Default value: false

$exclude_admin

(bool)(Optional)

Default value: true

$show_fullname

(bool)(Optional)

Default value: false

$hide_empty

(bool)(Optional)

Default value: true

$feed

(string)(Optional)

Default value: ''

$feed_image

(string)(Optional)

Default value: ''


Top ↑

Return

(null|string)


Top ↑

Source

File: wp-includes/deprecated.php

function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') {
	_deprecated_function( __FUNCTION__, '2.1.0', 'wp_list_authors()' );

	$args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image');
	return wp_list_authors($args);
}


Top ↑

Changelog

Changelog
VersionDescription
2.1.0Use wp_list_authors()
1.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More