<?php
// Users
CSF::createSection($prefix, array(
    'title' => esc_html__('Users Details', 'forumax'),
    'icon' => 'dashicons dashicons-admin-users',
    'subsection' => true,
    'fields' => array(
        array(
            'id' => 'user_details_header',
            'title' => esc_html__('User Details', 'forumax'),
            'type' => 'heading',
        ),
        array(
            'title' => esc_html__('User Menu Background', 'forumax'),
            'subtitle' => esc_html__('Select a pre-designed banner background style.', 'forumax'),
            'id' => 'user_bg',
            'type' => 'image_select',
            'default' => 'color',
            'options' => forumax_banner_bg_style()
        ),
        array(
            'title' => esc_html__('Key master Icon', 'forumax'),
            'id' => 'keymaster_icon',
            'type' => 'media',
            'compiler' => true,
            'default' => [
                'url' => FORUMAX_IMG . 'icon/keymaster.svg'
            ]
        ),
        array(
            'title' => esc_html__('Moderator Icon', 'forumax'),
            'id' => 'moderator_icon',
            'type' => 'media',
            'compiler' => true,
            'default' => [
                'url' => FORUMAX_IMG . 'icon/moderator.svg'
            ]
        ),
        array(
            'title' => esc_html__('Participant Icon', 'forumax'),
            'id' => 'participant_icon',
            'type' => 'media',
            'compiler' => true,
            'default' => [
                'url' => FORUMAX_IMG . 'icon/participants.svg'
            ]
        ),
        array(
            'title' => esc_html__('Blocked Icon', 'forumax'),
            'id' => 'blocked_icon',
            'type' => 'media',
            'compiler' => true,
            'default' => [
                'url' => FORUMAX_IMG . 'icon/block-user.svg'
            ]
        )
    )
));