W3cubDocs

/WordPress

theme_update_available( WP_Theme $theme )

Check if there is an update for a theme available.

Description

Will display link, if there is an update available.

See also

Parameters

$theme

(WP_Theme) (Required) Theme data object.

Source

File: wp-admin/includes/theme.php

function theme_update_available( $theme ) {
	echo get_theme_update_available( $theme );
}

Changelog

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