Метод | Описание | |
---|---|---|
__construct ( Yoast_Product $product, string $license_key ) | Constructor | |
get_update_data ( ) : object | Get update data | |
load_themes_screen ( ) | Add hooks and scripts to the Appearance > Themes screen | |
set_theme_update_transient ( $value ) | Set "updates available" transient | |
show_update_details ( ) | Show update link. |
Метод | Описание | |
---|---|---|
get_theme_version ( ) : string | Get the current theme version | |
setup_hooks ( ) | Setup hooks |
public __construct ( Yoast_Product $product, string $license_key ) | ||
$product | Yoast_Product | The Product. |
$license_key | string | The License key. |
public get_update_data ( ) : object | ||
Результат | object | $update_data Object containing the update data |
public load_themes_screen ( ) |
public set_theme_update_transient ( $value ) |