Warning: This function has been deprecated. Use wp_list_authors() instead.
list_authors( bool $optioncount = false, bool $exclude_admin = true, bool $show_fullname = false, bool $hide_empty = true, string $feed = '', string $feed_image = '' ): null|string
Lists authors.
Description
See also
Parameters
-
$optioncount
bool Optional -
Default:
false
-
$exclude_admin
bool Optional -
Default:
true
-
$show_fullname
bool Optional -
Default:
false
-
$hide_empty
bool Optional -
Default:
true
-
$feed
string Optional -
Default:
''
-
$feed_image
string Optional -
Default:
''
Return
null|string
Source
File: wp-includes/deprecated.php
.
View all references
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. |