• File: wp-cron-enabled-conditional.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/src/conditionals/wp-cron-enabled-conditional.php
  • Date Modified: 02/24/2024 11:29 PM
  • 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 );
    }
}