You appear to be a bot. Output may be restricted
Description
Simple wrapper to get_users
Usage
$array = bw_get_users( $atts );
Parameters
- $atts
- ( array ) optional – array of key value pairs Default parameters to get_users() are: <pre> 'blog_id' => $GLOBALS['blog_id'], 'role' => '', 'meta_key' => '', 'meta_value' => '', 'meta_compare' => '', 'include' => array(), 'exclude' => array(), 'search' => '', 'orderby' => 'login', 'order' => 'ASC', 'offset' => '', 'number' => '', 'count_total' => true, 'fields' => 'all', 'who' => '' </pre>
Returns
array array of user objectsSource
File name: oik/includes/bobbcomp.phpLines:
1 to 6 of 6
function bw_get_users( $atts = NULL ) { $atts['orderby'] = bw_array_get( $atts, "orderby", "registered" ); $atts['number'] = bw_array_get( $atts, "number", 1 ); $users = get_users( $atts ); return( $users ); }View on GitHub View on Trac