I would like to rename the “Add Media” button (just above the post editor interface) to be “Add Images”. I can’t seem to find the appropriate filter for this. There seems to be a filter that has now been deprecated but I can’t figure out what the new method is. The legacy filter was media_buttons_context
.
Leave a Reply
You must be logged in to post a comment.
The button text being a translatable string, you can make use of the gettext filter:
For the sake of completeness:
Of course, you can also keep the new string translatable.