Is it possible to replace the caption text of an image with its title and description fields when inserting it in the editor? If so, how?

Thanks in advance

  • Hi user1991185, could you provide more details on what you've tried already (and why it didn't work)?
    – kraftner
    Dec 15, 2015 at 10:51
  • I tried using the 'img_caption_shortcode' filter with no success.
    – leemon
    Dec 15, 2015 at 18:46

1 Answer 1


Unles I misunderstand the question, you can switch to the text editor after inserting the image and then manually edit the caption to put whatever you want in there.

  • Christopher, I'm sure the original poster, like me, would like to do this automatically when posting images. May 28, 2022 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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