private static function _checkbox_list_roles($field = [])
{
$defaults = ['exclude' => []];
$field = wp_parse_args($field, $defaults);
$field['options'] = [];
foreach (get_editable_roles() as $role_slug => $role_data) {
if (in_array($role_slug, $field['exclude'])) {
continue;
}
$field['options'][$role_slug] = $role_data['name'];
}
self::_checkbox_list($field);
}