theme_update_available()
Check if there is an update for a theme available.
Will display link, if there is an update available.
No Hooks.
Return
null
. Nothing (null).
Usage
theme_update_available( $theme );
- $theme(WP_Theme) (required)
- Theme data object.
Notes
Changelog
Since 2.7.0 | Introduced. |
theme_update_available() theme update available code WP 6.6.2
function theme_update_available( $theme ) { echo get_theme_update_available( $theme ); }