Explanation 1: I have a select field that is displayed in the users’ profile when they are logged in to WordPress. This field shows the level of the user, such as level 1, level 2 and level 3.
I want the value of this field to be locked and not allowed to be edited when the user enters the profile section.
Explanation 2: For the above part, now I want the site administrator to be able to edit a number of users for this field. It means to be able to select a number of users and then apply the value for example “level 2” to the field.
Currently, with afc, you can easily add this field to users’ profiles, but I don’t know how to restrict access to it.
And now I want the administrator to be able to easily edit this field for users. Currently, you have to edit each user separately and then edit the desired field, which is a time-consuming task.
It would be great if it was possible to create a relationship between the list of users and the values of the field like in the “acf relationship” mode.
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!