HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/publishpress/views/workflow_receiver_role_field.html.php
<?php include __DIR__ . '/workflow_receiver_checkbox_field.html.php'; ?>

<div
        id="publishpress_notif_role_list_filter"
        <?php if (! $context['meta']['selected']) : ?>style="display:none;"<?php endif; ?>
        class="<?php echo esc_attr($context['id']); ?>_filters publishpress-filter-checkbox-list">

    <?php if (! empty($context['roles'])) : ?>
        <select multiple="multiple" class="<?php echo esc_attr($context['list_class']); ?>"
                name="<?php echo esc_attr($context['input_name']); ?>" id="<?php echo esc_attr($context['input_id']); ?>">
            <?php foreach ($context['roles'] as $role => $role_object) : ?>
                <?php $selected = isset($role_object->selected) ? $role_object->selected : false; ?>
                <option value="<?php echo esc_attr($role); ?>" <?php selected($selected, true); ?>><?php echo $role_object->name; ?></option>
            <?php endforeach; ?>
        </select>
    <?php endif; ?>
</div>