D
D
Dr Zhmurge2021-06-23 14:17:56
WordPress
Dr Zhmurge, 2021-06-23 14:17:56

How to make a shortcode that allows you to select an image and take its link?

I want to add a button in the TinyMCE editor, by clicking on which the image library was opened, I selected the desired file and a link to this file was inserted into the editor. I know how to make shortcodes. But I don’t understand how you can interact with the image library.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question