props; $common = WaicUtils::getArrayValue($props['settings'], 'common', array(), 2); $single = WaicUtils::getArrayValue($props['settings'], 'single', array(), 2); $selectedFields = WaicUtils::getArrayValue($props['settings'], 'fields', array(), 2); $fields = $props['fields']; $modes = array( 'single' => __('Single', 'ai-copilot-content-generator'), ( $props['is_pro'] ? 'bulk' : 'pro' ) => __('Bulk', 'ai-copilot-content-generator') . ( $props['is_pro'] ? '' : ' PRO' ), ); $gMode = WaicUtils::getArrayValue($common, 'mode', 'single'); ?>
">
$modes, 'value' => $gMode, 'attrs' => 'class="wbw-small-field" id="waicTaskMode"', )); ?>
!
*
WaicUtils::getArrayValue($single, 'topic', ''), )); ?>
WaicUtils::getArrayValue($single, 'keywords', ''), )); ?>
includeExtTemplate('postscreatepro', 'adminPostsCreateTabParamsBulk'); ?>
WaicUtils::getArrayValue($common, 'e_prompt', 0), )); ?>
WaicUtils::getArrayValue($common, 'prompt', ''), 'rows' => 4, )); ?>
"> $fieldsList, //'value' => WaicUtils::getArrayValue($options, 'model', $defaults['model']), 'attrs' => 'class="wbw-small-field" id="waicFieldsForAdd"', ));*/ ?>
$data) { if (!empty($data['hidden']) || 'custom' == $key || !empty($data['results'])) { continue; } $hidden = !$data['required'] && !isset($selectedFields[$key]) ? ' wbw-hidden' : ''; ?>
$label) { $this->props['custom_slug'] = $customSlug; $hidden = !isset($selectedCustom[$customSlug]) ? ' wbw-hidden' : ''; ?>