Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

see:

http://clark-technet.com/2010/12/wordpress-self-hosted-plugin-update-api

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....

Use the admin_notices action to make your alert message more noticeable

share|improve this answer
    
thanks for the link. superb :) –  wow Feb 25 '11 at 16:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.