Uses
Uses | Description |
---|---|
wp-admin/includes/theme.php: get_theme_update_available() | Retrieve the update link if there is a theme update available. |
Check if there is an update for a theme available.
Will display link, if there is an update available.
(WP_Theme) (Required) Theme data object.
File: wp-admin/includes/theme.php
function theme_update_available( $theme ) { echo get_theme_update_available( $theme ); }
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/theme_update_available