[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
The original implementation was not correct because it was passing an unexpected value to the method "field" (it expects the field name).
The proposed implementation is a bit tricky because at the moment there's not an easy way to get the field names from the Attachments class.
The original implementation was not correct because it was passing an unexpected value to the method "field" (it expects the field name). The proposed implementation is a bit tricky because at the moment there's not an easy way to get the field names from the Attachments class.