File "wp-cron-enabled-conditional.php"
Full Path: /home/rrterraplen/public_html/wp-includes/wp-content/plugins/wordpress-seo/src/conditionals/wp-cron-enabled-conditional.php
File size: 351 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Class that checks if WP_CRON is enabled.
*/
class WP_CRON_Enabled_Conditional implements Conditional {
/**
* Checks if WP_CRON is enabled.
*
* @return bool True when WP_CRON is enabled.
*/
public function is_met() {
return ! ( \defined( 'DISABLE_WP_CRON' ) && \DISABLE_WP_CRON );
}
}