I need to create a new user role for my project.
I have a lot of options page (about 30). This new user role should not be able to see every option page in the menu.
What is the best way to implement this?
Is there a way that I can say in add_role(). I generally don’t want to show ACF option pages for now (for this user role), only the following option pages should be shown. When creating an option page, there is the menu_slug. Maybe with this.
And further. I have an option page. Several fields are created on this page. Let’s say the new user role should be able to see 9 of the 10 fields, only the one field should not be visible for him.
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future. https://t.co/HahJUCcyH4