theme_update_available

Advertisement

Summery Summery

Check if there is an update for a theme available.

Syntax Syntax

theme_update_available( WP_Theme $theme )

Description Description

Will display link, if there is an update available.

Parameters Parameters

$theme

(Required) Theme data object.

Source Source

File: wp-admin/includes/theme.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

See also See also

Advertisement

Leave a Reply