WooCommerce Code Reference

Search results

WC_Marketplace_Updater

Marketplace Suggestions Updater

Table of Contents

load() Setup. mixed
init() Schedule events and hook appropriate actions. mixed
update_marketplace_suggestions() Fetches new marketplace data, updates wc_marketplace_suggestions. mixed
retry() Used when an error has occured when fetching suggestions. mixed

Methods

update_marketplace_suggestions()

Fetches new marketplace data, updates wc_marketplace_suggestions.

public static update_marketplace_suggestions( ) : mixed
Return values
mixed

retry()

Used when an error has occured when fetching suggestions.

public static retry( ) : mixed

Re-schedules the job earlier than the main weekly one.

Return values
mixed
Back to the top