props; $chatbots = array(); $taskId = $props['task_id']; if (!empty($taskId)) { $chatbots[$taskId] = __('Current ChatBot', 'ai-copilot-content-generator'); } $chatbots[''] = __('All', 'ai-copilot-content-generator'); foreach ($props['chatbots'] as $tId => $tTitle) { if ($tId != $taskId) { $chatbots[$tId] = $tTitle; } } // phpcs:enable ?>
$chatbots, 'attrs' => 'id="waicHistoryChatbots" class="wbw-small-field wbw-nosave"', )); ?>
$chatbots, 'attrs' => 'id="waicExportTask" class="wbw-small-field wbw-nosave"', )); ?>
array(0 => 'front', 1 => 'admin', 2 => 'custom', 9 => 'All'), 'attrs' => 'class="wbw-small-field wbw-nosave"', )); ?>
array( 0 => __('All', 'ai-copilot-content-generator'), 1 => __('logged in', 'ai-copilot-content-generator'), 2 => __('guests', 'ai-copilot-content-generator'), ), 'attrs' => 'class="wbw-small-field wbw-nosave"', )); ?>