list_authors

Lists authors.

Description

(null|string) list_authors( (constant) $optioncount = false, (constant) $exclude_admin = true, (constant) $show_fullname = false, (constant) $hide_empty = true, (string) $feed = '', (string) $feed_image = '' ); 

Returns (null|string)

Parameters (6)

0. $optioncount — Optional. (constant) => false
The optioncount.
1. $exclude_admin — Optional. (constant) => true
The exclude admin.
2. $show_fullname — Optional. (constant) => false
The show fullname.
3. $hide_empty — Optional. (constant) => true
The hide empty.
4. $feed — Optional. (string) => ''
The feed.
5. $feed_image — Optional. (string) => ''
The feed image.

Usage

  1. if ( !function_exists( 'list_authors' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4. // The optioncount. 
  5. $optioncount = false; 
  6.  
  7. // The exclude admin. 
  8. $exclude_admin = true; 
  9.  
  10. // The show fullname. 
  11. $show_fullname = false; 
  12.  
  13. // The hide empty. 
  14. $hide_empty = true; 
  15.  
  16. // The feed. 
  17. $feed = ''; 
  18.  
  19. // The feed image. 
  20. $feed_image = ''; 
  21.  
  22. // NOTICE! Understand what this does before running. 
  23. $result = list_authors($optioncount, $exclude_admin, $show_fullname, $hide_empty, $feed, $feed_image); 
  24.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') { 
  2. _deprecated_function( __FUNCTION__, '2.1.0', 'wp_list_authors()' ); 
  3.  
  4. $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image'); 
  5. return wp_list_authors($args);