humanmade / aws-rekognition

A lightweight plugin to add keywords to WordPress image uploads via automatic feature detection. Requires S3 Uploads.
57 stars 6 forks source link

Method attachment_fields does not allow any other data to be added to filter attachment_fields_to_edit #20

Closed Nikschavan closed 4 years ago

Nikschavan commented 4 years ago

The new field hm-aws-rekognition-labels should be added to the variable $fields instead of creating a new variable $form_fields

https://github.com/humanmade/aws-rekognition/blob/master/inc/admin/namespace.php#L26-L32