Action::enabled( awsmug\Torro_Forms\DB_Objects\Forms\Form $form )

Checks whether the action 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 action is enabled, false otherwise.

Source

File: src/modules/actions/action.php

	public function enabled( $form ) {
		return $this->get_form_option( $form->id, 'enabled', false );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.