On this page
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
$themeWP_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 );
}
Related
Uses
| Uses | Description |
|---|---|
| get_theme_update_available() wp-admin/includes/theme.php | Retrieves the update link if there is a theme update available. |
Used By
| Used By | Description |
|---|---|
| WP_Themes_List_Table::display_rows() wp-admin/includes/class-wp-themes-list-table.php |
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