WordPress at Your Fingertips
function is not described

WC_Marketplace_Updater::retry() public WC 1.0

Used when an error has occured when fetching suggestions. Re-schedules the job earlier than the main weekly one.

{} It's a method of the class: WC_Marketplace_Updater{}

No Hooks.


null. Nothing.


$result = WC_Marketplace_Updater::retry();

Code of WC_Marketplace_Updater::retry() WC 5.9.0

public static function retry() {
	WC()->queue()->cancel_all( 'woocommerce_update_marketplace_suggestions' );
	WC()->queue()->schedule_single( time() + DAY_IN_SECONDS, 'woocommerce_update_marketplace_suggestions' );