list_authors

函数
list_authors ( $optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '' )
参数
  • (bool) $optioncount
    Required:
    Default: false
  • (bool) $exclude_admin
    Required:
    Default: true
  • (bool) $show_fullname
    Required:
    Default: false
  • (bool) $hide_empty
    Required:
    Default: true
  • (string) $feed
    Required:
    Default: (empty)
  • (string) $feed_image
    Required:
    Default: (empty)
返回值
  • (null|string)
相关
  • wp_list_authors()
定义位置
相关方法
wp_list_authorsis_authorlist_catsis_multi_authorthe_author
引入
1.2.0
弃用
2.1.0

Lists authors.

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