Snippet: How to lock blocks and prevent your users from unlocking them #342
Replies: 2 comments
-
This topic was approved and conversations continues on the issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
The snippet has been published: https://developer.wordpress.org/news/snippets/how-to-lock-wordpress-blocks-and-prevent-unlocking/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This snippet would provide a very brief overview of the Block Locking API and then show developers how to prevent unlocking in specific contexts:
Post types:
User permissions:
The snippet will also show how to disable access to the Code Editor, so users cannot manipulate the attributes directly.
Beta Was this translation helpful? Give feedback.
All reactions