Habari\FormContainer::do_success PHP Метод

do_success() публичный Метод

Calls the success callback for the form, and optionally saves the form values to the options table.
public do_success ( FormUI $form ) : boolean | string
$form FormUI The form for which success is being processed
Результат boolean | string A string to replace the rendering of the form with, or false
    public function do_success($form)
    {
        /** @var FormControl $control */
        foreach ($this->controls as $control) {
            $control->do_success($form);
        }
        return parent::do_success($form);
    }