WC_Marketplace_Updater
in package
Marketplace Suggestions Updater
Table of Contents
- init() : mixed
- Schedule events and hook appropriate actions.
- load() : mixed
- Setup.
- retry() : mixed
- Used when an error has occurred when fetching suggestions.
- update_marketplace_suggestions() : mixed
- Fetches new marketplace data, updates wc_marketplace_suggestions.
Methods
init()
Schedule events and hook appropriate actions.
public
static init() : mixed
Return values
mixed —load()
Setup.
public
static load() : mixed
Return values
mixed —retry()
Used when an error has occurred when fetching suggestions.
public
static retry() : mixed
Re-schedules the job earlier than the main weekly one.
Return values
mixed —update_marketplace_suggestions()
Fetches new marketplace data, updates wc_marketplace_suggestions.
public
static update_marketplace_suggestions() : mixed