Automattic\WP\Cron_Control\Internal_Events::clean_legacy_data PHP Метод

clean_legacy_data() публичный Метод

Remove data related to how Core manages cron in the absence of this plugin
public clean_legacy_data ( )
    public function clean_legacy_data()
    {
        // Cron option can be very large, so it shouldn't linger
        delete_option('cron');
        // While this plugin doesn't use this locking mechanism, other code may check the value
        if (wp_using_ext_object_cache()) {
            wp_cache_delete('doing_cron', 'transient');
        } else {
            delete_transient('doing_cron');
        }
    }