Skip to content
Torro Forms Developer Resources

Torro Forms Developer Resources

  • Tutorials
  • Reference
    • Classes
    • Traits
    • Interfaces
    • Functions
    • Methods
    • Hooks

File: src/modules/access-controls/timerange.php

awsmug\Torro_Forms\Modules\Access_Controls

Timerange::can_access()

Determines whether the current user can access a specific form or submission.

Source: src/modules/access-controls/timerange.php:65
awsmug\Torro_Forms\Modules\Access_Controls

Timerange::get_meta_fields()

Returns the available meta fields for the submodule.

Source: src/modules/access-controls/timerange.php:99
awsmug\Torro_Forms\Modules\Access_Controls

Timerange::get_default_not_yet_open_message()

Returns the default message to display when the form is not yet open.

Source: src/modules/access-controls/timerange.php:145
awsmug\Torro_Forms\Modules\Access_Controls

Timerange::get_default_no_longer_open_message()

Returns the default message to display when the form has already been closed.

Source: src/modules/access-controls/timerange.php:156
awsmug\Torro_Forms\Modules\Access_Controls

Timerange

Class for an access control to restrict based on a time range.

Source: src/modules/access-controls/timerange.php:20
awsmug\Torro_Forms\Modules\Access_Controls

Timerange::bootstrap()

Bootstraps the submodule by setting properties.

Source: src/modules/access-controls/timerange.php:27
awsmug\Torro_Forms\Modules\Access_Controls

Timerange::enabled()

Checks whether the access control is enabled for a specific form.

Source: src/modules/access-controls/timerange.php:41

This website is powered by

High-Performance WordPress-Hosting & WP Management Dashboard

© 2018 Torro Forms by Awesome UG - Germany