Property | Type | Description | |
---|---|---|---|
$error_message | string | ||
$license_manager | Yoast_License_Manager | ||
$product | Yoast_Product | ||
$update_response | object |
Method | Description | |
---|---|---|
__construct ( Yoast_Product $product, Yoast_License_Manager $license_manager ) | Constructor | |
show_update_error ( ) | If the update check returned a WP_Error, show it to the user |
Method | Description | |
---|---|---|
get_remote_data ( ) : object | Gets the remote product data (from the EDD API) |
Method | Description | |
---|---|---|
call_remote_api ( ) : false | object | Calls the API and, if successfull, returns the object delivered by the API. | |
get_cached_remote_data ( ) : boolean | mixed | Gets the remote product data from a 3-hour transient | |
maybe_delete_transients ( ) | Deletes the various transients If we're on the update-core.php?force-check=1 page |
public __construct ( Yoast_Product $product, Yoast_License_Manager $license_manager ) | ||
$product | Yoast_Product | The product. |
$license_manager | Yoast_License_Manager | The License Manager. |
protected get_remote_data ( ) : object | ||
return | object |
public show_update_error ( ) |
protected Yoast_License_Manager $license_manager | ||
return | Yoast_License_Manager |