props; $options = WaicUtils::getArrayValue($props['fields'], 'title', array(), 2); $fTitle = WaicUtils::getArrayValue(WaicUtils::getArrayValue($props['settings'], 'fields', array(), 2), 'title', array(), 2); $tooltip = !empty($options['modes_tooltip']) ? $options['modes_tooltip'] : __('This setting determines how the article title will be generated. Generate based on Topic: Generates the article title based on the topic you enter. Generate based on section headers: Creates the article title based on the section headers within the article (unavailable for Single-prompt article body creation mode). Use topic as title: The article title will be exactly the same as the topic you enter.', 'ai-copilot-content-generator'); ?>
$options['modes'],
'value' => WaicUtils::getArrayValue($fTitle, 'mode'),
));
?>
WaicUtils::getArrayValue($fTitle, 'prompt', ''),
'rows' => 4,
'attrs' => 'placeholder="' . esc_attr__('For example: the title should not be longer than 100 characters.', 'ai-copilot-content-generator') . '"',
));
?>