Hello,
i using flexible content and each block contains user fields, where i can select which users can see this block on frontend .. this works fine. https://i.imgur.com/safnGa2.png
But i now need same settings, but for user groups (admin, editor etc … , so admin create block and select groups with users who can see this block on front end.
Can you help me with solution? Thank you
The easiest solution would be to build a select field and use https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/
A more complicated solution would be to build a custom field type for user groups https://www.advancedcustomfields.com/resources/creating-a-new-field-type/
I would probably go with the first.