WC_Marketplace_Updater::retry()
Used when an error has occured when fetching suggestions.
Description Description
Re-schedules the job earlier than the main weekly one.
Source Source
File: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
public static function retry() { WC()->queue()->cancel_all( 'woocommerce_update_marketplace_suggestions' ); WC()->queue()->schedule_single( time() + DAY_IN_SECONDS, 'woocommerce_update_marketplace_suggestions' ); }