_name = __('Stop Loop', 'ai-copilot-content-generator'); $this->_desc = __('End Loop execution immediately', 'ai-copilot-content-generator'); $this->setBlock($block); } public function getResults( $taskId, $variables, $step = 0 ) { $this->_results = array( 'result' => array(), 'error' => '', 'status' => 3, 'stop' => 'loop', 'sourceHandle' => 'output-else', ); return $this->_results; } }