Core Function
View Source on Trac ↗ get_theme_update_available()
get_theme_update_available( mixed $theme ) Retrieves the update link if there is a theme update available.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $theme WP_Theme | WP_Theme object. Required |
Return Value
((string)
| false) HTML for the update link, or false if invalid info was passed.
Function Information
Since Version
3.8.0
Source File
wp-admin/includes/theme.php
Advertisement