To make attachment management easier, I put it into categories*.
I have a ACF form with a file field. When file button is hit, media library modal box appears (I don’t know how to simple have a file uploader in backend like in frontend with ‘uploader’ => ‘basic’). I would like to only display files of this CPT and, obviously, a specific category must be added to this file on upload.
Is it more understandable ?
(*) attachment support categories with register_taxonomy_for_object_type( ‘category’, ‘attachment’ ) ; I prefer to use WP Media Category Management for that, because it add select field to filter attachment by category.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!