Various plug-ins that handle images have the ability to select images uploaded to media and obtain URLs. Please let me know if there are any sites that show how to implement them.
I'd like to add functions like "Add Media" on the post page to the plug-in.
I can now upload with add_media, but I can't find a way to know the URL of the image that has already been uploaded.I look forward to your kind cooperation.
"In the ""Add Media"" section of the original post,
It says this, so if you write this source code directly on the plug-in, it will just go to the top of the page for some reason.How do I install this feature in my plug-in?wordpress
I didn't actually try it, but I think this will be helpful.
© 2023 OneMinuteCode. All rights reserved.