Here’s how to change/filter the featured image metabox title and link text in WordPress:

To use this code, just make these changes:

  • Change “my_post_type_name” to the name of the post type for which you want to change the featured image text.
  • Change “NEW TITLE TEXT”, “NEW SET TEXT HERE” and “NEW REMOVE TEXT HERE” to the new text you want to use.
  • Change “km” to the function prefix & text domain of your choice.

 

Note: The default “Remove featured image” text is still visible immediately after an image is selected. The code above does not address that.

2 comments

  1. Binaya December 13, 2016 at 2:25 am

    Reply

    Hi

    This post is awesome but can you please let me know
    How can i remove the The default “Remove featured image” text is still visible immediately after an image is selected. The code above does not address that.

Leave a reply

Your email address will not be published. Required fields are marked *