W3cubDocs

/WordPress

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

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

Lists authors.

Description

See also

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: ''

Return

(null|string)

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);
}

Changelog

Version Description
2.1.0 Use wp_list_authors()
1.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/list_authors