WordPress at a glance
function is not described

theme_update_available() WP 2.7.0

Check if there is an update for a theme available.

Will display link, if there is an update available.

No Hooks.

Return

Null. Nothing.

Usage

theme_update_available( $theme );
$theme(WP_Theme) (required)
Theme data object.

Notes

  • See: get_theme_update_available()

Changelog

Since 2.7.0 Introduced.

Code of theme update available: wp-admin/includes/theme.php WP 5.2.2

<?php
function theme_update_available( $theme ) {
	echo get_theme_update_available( $theme );
}