Checks whether the evaluator is enabled for a specific form.
Description
See also
Parameters
- $form
-
(awsmug\Torro_Forms\DB_Objects\Forms\Form) (Required) Form object to check.
Return
(bool) True if the evaluator is enabled, false otherwise.
Source
File: src/modules/evaluators/evaluator.php
public function enabled( $form ) { return $this->get_form_option( $form->id, 'enabled', false ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |