On this page
list_authors( bool $optioncount = false, bool $exclude_admin = true, bool $show_fullname = false, bool $hide_empty = true, string $feed = '', string $feed_image = '' ): null|string
This function has been deprecated. Use wp_list_authors() instead.
Lists authors.
Description
See also
Parameters
$optioncountbool Optional-
Default:
false $exclude_adminbool Optional-
Default:
true $show_fullnamebool Optional-
Default:
false $hide_emptybool Optional-
Default:
true $feedstring Optional-
Default:
'' $feed_imagestring 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);
}
Related
Uses
| Uses | Description |
|---|---|
| wp_list_authors() wp-includes/author-template.php | Lists all the authors of the site, with several options available. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Use wp_list_authors() |
| 1.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/list_authors