Roots Discourse

Help interpreting line in config/application.php

Config::define('DISABLE_WP_CRON', env('DISABLE_WP_CRON') ?: false);

Does this mean that wp_cron is currently disabled or enabled?

From what I see, if DISABLE_WP_CRON is not set in your .env file, wp_cron will be enable.
In the other case, it will depend on the value set in the .env file.

OK thank you for your help.

This topic was automatically closed after 42 days. New replies are no longer allowed.