Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
How to use Wordpress Media button/Manager to past value to the field in a custom plugin

Is there any solution to pass value of selected image(from media manager) to a field? Maybe using js, just plugin uses Vue.js for admin dashboard, i.e. no separate fields, all fields are a single object. I did so

<div class="pfx-img-form">
  <label>Image</label>
  <input class="image-val" type="text" name="" v-model="item.img">
  <?php  media_buttons();?>
</div>

Just how to pass data to field, I'm going mad:) I have a solution, but it requires use iframe with media.php and long js code, just wonder, maybe there's simplier solution

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!