S
S
sergiofollan2017-06-24 10:49:20
TinyMCE
sergiofollan, 2017-06-24 10:49:20

How to make a simple image or video upload in wp_editor?

Why does the library always open when I click the add media button? Is it possible to remove it somehow, so that when I press to add a media file, the file selection on my computer immediately opens, without a library?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2017-06-24
@AXP-dev

Just don't do it like that. You will have to write separate logic that checks the file, uploads and registers it in wp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question