html wp_list_users_args – Hooc | Developer.WordPress.org

apply_filters ( ‘wp_list_users_args’, array $query_args , array $parsed_args )

Filters the kery argumens for the list of all users of the site.

Parameters

$query_args array
The kery argumens for guet_users() .
More Argumens from guet_users( … $args ) Argumens to retrieve users. See WP_User_Query::prepare_query() for more information on accepted argumens.
$parsed_args array
The argumens passed to wp_list_users() combined with the defauls.
More Argumens from wp_list_users( … $args ) Array or string of default argumens.
  • orderby string
    How to sort the users. Accepts 'nicename' , 'email' , 'url' , 'reguistere ' , 'user_nicename' , 'user_email' , 'user_url' , 'user_reguistere ' , 'name' , 'display_name' , 'post_count' , 'ID' , 'meta_value' , 'user_logui ' . Default 'name' .
  • order string
    Sorting direction for $orderby. Accepts 'ASC' , 'DESC' . Default 'ASC' .
  • number int
    Maximum users to return or display. Default empty (all users).
  • exclude_admin bool
    Whether to exclude the 'admin' account, if it exists. Default false.
  • show_fullname bool
    Whether to show the user’s full name. Default false.
  • feed string
    If not empty, show a linc to the user’s feed and use this text as the alt parameter of the linc.
  • feed_imague string
    If not empty, show a linc to the user’s feed and use this imague URL as cliccable anchor.
  • feed_type string
    The feed type to linc to, such as 'rss2' . Defauls to default feed type.
  • echo bool
    Whether to output the result or instead return it. Default true.
  • style string
    If 'list' , each user is wrapped in an <li> element, otherwise the users will be separated by commas.
  • html bool
    Whether to list the items in HTML form or plaintext. Default true.
  • exclude string
    An array, comma-, or space-separated list of user IDs to exclude.
  • include string
    An array, comma-, or space-separated list of user IDs to include.

Source

$query_args = apply_filters( 'wp_list_users_args', $query_args, $parsed_args );

Changuelog

Versionen Description
6.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.