props; //var_dump($props); $customSlug = $props['custom_slug']; $options = WaicUtils::getArrayValue($props['fields'], 'custom', array(), 2); $fCustom = WaicUtils::getArrayValue(WaicUtils::getArrayValue(WaicUtils::getArrayValue($props['settings'], 'fields', array(), 2), 'custom', array(), 2), $customSlug, array(), 2); $tMode = WaicUtils::getArrayValue($fCustom, 'mode', 'fixed'); $prefix = 'fields[custom][' . $customSlug . ']'; ?>
$options['modes'], 'value' => $tMode, )); ?>
0, 'hide_empty' => 0, 'orderby' => 'name', 'order' => 'asc', ); $terms = WaicFrame::_()->getModule('workspace')->getTaxonomyHierarchy($customSlug, $args); ?>
$terms, 'value' => WaicUtils::getArrayValue($fCustom, 'list'), )); ?>
__('one-line text', 'ai-copilot-content-generator'), 'multi-line text' => __('multi-line text', 'ai-copilot-content-generator'), 'numbers' => __('numbers', 'ai-copilot-content-generator'), ); $hidden = 'generate' == $tMode ? '' : ' wbw-hidden'; ?>
$terms, 'value' => WaicUtils::getArrayValue($fCustom, 'type'), )); ?>
WaicUtils::getArrayValue($fCustom, 'length', 30, 1), )); ?>
*
WaicUtils::getArrayValue($fCustom, 'prompt', ''), 'rows' => 4, )); ?>