WordPress.org

Forums

Attachments
I need to pass a field value to default attachment description field (1 post)

  1. miguelcortereal
    Member
    Posted 1 year ago #

    How do I assign the value given in a field from a custom instance from the plugin, at Description field from each media item on media library?

    Elaborating a little more, let's say I want this:

    $attachment->post_content assigning what is saved at $attachments->field('my-field')

    Or once a user fills my-field and saves, field Description at media library gets the value.

    Any help?

    https://wordpress.org/plugins/attachments/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.