Skip to content

Disable add component button #428

Answered by steffenbew
wpcreative-jw asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think disabling the add component button is possible with ACF. Hacking it for a certain user role via a hook or JavaScript might be possible.
If we want the components on a page to be fixed, we rather create a separate field group for a specific template and add the components statically, not as a flexible_content field.
However, this removes the ease of creating new pages with the flexible content.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steffenbew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants