PluginProbe
WP Crontrol / trunk
WP Crontrol vtrunk
1.21.2 trunk 0.1 0.2 0.3 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.1 1.10.0 1.11.0 1.12.0 1.12.1 1.13.0 1.13.1 1.13.2 1.14.0 1.15.0 1.15.1 1.15.2 1.15.3 1.16.0 1.16.1 1.16.2 All 57 releases
wp-crontrol / src / Context / FeatureContext.php

FeatureContext.php in WP Crontrol trunk, at src/Context/FeatureContext.php

26 lines 511 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Feature flag context for WP Crontrol.
4 *
5 * @package wp-crontrol
6 */
7
8 namespace Crontrol\Context;
9
10 /**
11 * Interface for checking feature flags.
12 *
13 * Provides methods to check if various cron event features are enabled.
14 */
15 interface FeatureContext {
16 /**
17 * Check whether PHP cron events are enabled globally on the site.
18 */
19 public function php_crons_enabled(): bool;
20
21 /**
22 * Check whether URL cron events are enabled globally on the site.
23 */
24 public function url_crons_enabled(): bool;
25 }
26