User

Generates a widget for selecting users. It includes drag-n-drop ordering capabilities.

Field Options

None

Return Value

(array) An array of user IDs

Template Usage

<?php
$values = $cfs->get('field_name');
foreach ($values as $user_id) {
    $the_user = get_user_by('id', $user_id);
    echo $the_user->user_login;
}
?>