$module_config ) :
if ( ! isset( $module_config['package'] ) ) {
$module_config['package'] = ''; // for avoiding error when add module from theme
}
$data_attr = ( $module_config['package'] != 'pro-disabled' ? '' : 'data-attr-toggle="modal" data-target="#elementskit_go_pro_modal"' );
// Skip upcoming modules
$attributes = isset($module_config['attributes']) ? $module_config['attributes'] : array();
if(in_array('upcoming', $attributes)) {
continue;
}
?>
>
utils->input(
array(
'type' => 'switch',
'name' => 'module_list[]',
'value' => $module,
'class' => 'ekit-content-type-' . $module_config['package'],
'attr' => ( $module_config['package'] != 'pro-disabled' ? array() : array( 'disabled' => 'disabled' ) ),
'label' => $module_config['title'],
'options' => array(
'checked' => ( isset( $modules_active[ $module ] ) ? true : false ),
),
)
);
?>