Thanks – I actually just figured this out by modifying some code I used with CMB2 previously. I added the following to the top of my PikList metafields file:
$args = array(
‘blog_id’ => $GLOBALS[‘blog_id’],
‘meta_key’ => ‘last_name’,
‘orderby’ => ‘meta_value’,
‘order’ => ‘ASC’,
‘fields’ => ‘all’,
);
$entries = get_users( $args );
$user_options = array();
if ( $entries ) {
foreach ( $entries as $entry ) {
$name = get_user_meta($entry->ID,’last_name’,’single’) . ‘, ‘ . get_user_meta($entry->ID,’first_name’,’single’) . ‘ (‘ . $entry->user_login . ‘)’;
$user_options[ $entry->ID ] = $name;
}
}
Then referenced it in the select list with:
,’choices’ => array(” => ‘- Select -‘) + $user_options
This gave me the format I needed.