You appear to be a bot. Output may be restricted
Description
Build a simple ID, title array from an array of $user objects
Usage
$array = bw_user_array( $users );
Parameters
- $users
- ( mixed ) required –
Returns
array associative array of user ID to user_titleSource
File name: oik/includes/bobbcomp.phpLines:
1 to 8 of 8
function bw_user_array( $users ) { $options = array(); foreach ($users as $user ) { $options[$user->ID] = $user->display_name; } //bw_trace2( $options ); return( $options ); }View on GitHub View on Trac