列表作者。
原型
list_authors( bool $optioncount = false, bool $exclude_admin = true, bool $show_fullname = false, bool $hide_empty = true, string $feed = '', string $feed_image = '' )
参数
$optioncount
(bool)
(Optional)
$exclude_admin
(bool)
(Optional)
$show_fullname
(bool)
(Optional)
$hide_empty
(bool)
(Optional)
$feed
(string)
(Optional)
$feed_image
(string)
(Optional)
返回值
(null|string)
源文件
路径:wp-includes/deprecated.php
<?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);
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/list_authors/