wordpress / latest / functions / theme_update_available.html

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. View all references

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

Uses

Uses Description

Changelog

Version Description
2.7.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/theme_update_available