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

(WP_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

This site uses Akismet to reduce spam. Learn how your comment data is processed.