Commit 9489c9f6 authored by John James Jacoby's avatar John James Jacoby
Browse files

Tidy up inline documentation.

See #16.
parent 769faa93
......@@ -161,10 +161,12 @@ function wp_get_users_of_group( $args = array(), $user_args = array() ) {
return array();
}
// Parse optional user arguments
$user_args = wp_parse_args( $user_args, array(
'orderby' => 'display_name',
) );
// Strictly enforce the inclusion of user IDs to this group
$user_args['include'] = $user_ids;
// Return queried users.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment