WPDev.one
Core Function
View Source on Trac ↗

wp_list_users()

wp_list_users( mixed $args = array() )

Lists all the users of the site, with several options available.

Parameters 1 required

Name / Type Description
mixed

(string | array) $args { Optional. Array or string of default arguments.

Required

Return Value

((string)
| null) The output if echo is false. Otherwise null.

Function Information

Since Version
5.9.0
Source File
wp-includes/user.php
Advertisement