Module::bootstrap()

Bootstraps the module by setting properties.

Description

See also

Source

File: src/modules/protectors/module.php

	protected function bootstrap() {
		$this->slug        = 'protectors';
		$this->title       = __( 'Protectors', 'torro-forms' );
		$this->description = __( 'Protectors increase security by preventing your form from spam.', 'torro-forms' );

		$this->submodule_base_class = Protector::class;
		$this->default_submodules = array(
			'recaptcha' => reCAPTCHA::class,
			'honeypot'  => Honeypot::class,
			'timetrap'  => Timetrap::class,
			'linkcount' => Linkcount::class,
		);
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.