Свойство | Тип | Описание | |
---|---|---|---|
$error_message | string | ||
$license_manager | Yoast_License_Manager | ||
$product | Yoast_Product | ||
$update_response | object |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
get_remote_data ( ) : object | Gets the remote product data (from the EDD API) |
Метод | Описание | |
---|---|---|
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 | ||
Результат | object |
public show_update_error ( ) |
protected Yoast_License_Manager $license_manager | ||
Результат | Yoast_License_Manager |