Core Function
View Source on Trac ↗ wp_dropdown_users()
wp_dropdown_users( mixed $args = '' ) Creates dropdown HTML content of users.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (array | string) $args { Optional. Array or string of arguments to generate a drop-down of users. See WP_User_Query::prepare_query() for additional available arguments. Required |
Return Value
(string)
HTML dropdown list of users.
Function Information
Since Version
2.3.0
Source File
wp-includes/user.php
Advertisement