File: /mnt/data/doccure-wp/wp-content/plugins/dreams-zoom-integration/redux/zoom-settings.php
<?php
/**
* Zoom Settings
*/
if (!class_exists('Redux')) {
return array();
}
return array(
'title' => esc_html__('Zoom Settings', 'doccure'),
'desc' => esc_html__('This section controls the Zoom Integration.', 'doccure'),
'id' => 'zoom-settings',
'customizer_width' => '400px',
'icon' => 'el el-video',
'fields' => array(
array(
'id' => 'zoom_enable_disable_settings',
'type' => 'switch',
'title' => esc_html__('Enable Zoom Integration', 'doccure'),
'default' => 0,
),
array(
'id' => 'zoom_oauth_account_id',
'type' => 'text',
'title' => esc_html__('Oauth Account ID', 'doccure'),
'required' => array('zoom_enable_disable_settings', '=', 1),
),
array(
'id' => 'zoom_oauth_client_id',
'type' => 'text',
'title' => esc_html__('Oauth Client ID', 'doccure'),
'required' => array('zoom_enable_disable_settings', '=', 1),
),
array(
'id' => 'zoom_oauth_client_secret',
'type' => 'text',
'title' => esc_html__('Oauth Client Secret', 'doccure'),
'required' => array('zoom_enable_disable_settings', '=', 1),
),
array(
'id' => 'zoom_connect_button',
'type' => 'button',
'title' => esc_html__('Connect to Zoom', 'doccure'),
'text' => esc_html__('Connect', 'doccure'),
'required' => array('zoom_enable_disable_settings', '=', 1),
),
),
);