Let say my theme host on my server. User download my theme and use it. Now I want notify @ alert for new version of my theme.
Example to show “New version has been release. Please download at …”
How to do that?
Basically the idea is to hook your update checking function to the
pre_set_site_transient_update_themes filter. The version array key you return from this function will be compared by WP to the current theme version from style.css….
admin_notices action to make your alert message more noticeable