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.

How can I change the headline text for the post thumbnail meta box in the edit post screen?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Featured Image box is internally a meta box, added using add_meta_box (ref. edit-form-advanced.php line no. 128). As far as my research went, there is no filter applied to the meta box title (ref. template.php line no. 846). Hence you cant change the metabox title using a filter. Though you can try printing the contents of global $wp_meta_boxes (returned blank in my case), or use a jQuery trick to get your job done. But if you ever want to change the inner text, 'Set featured image' (or the html for that matter), you can use the filter admin_post_thumbnail_html.

share|improve this answer
    
Great, thanks! I'm satisfied with changing the HTML. –  Richard B Dec 20 '11 at 21:59
    
Yep, you're welcome! –  Rutwick Gangurde Dec 21 '11 at 6:44

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.