

Plugin Admin Menu containing both options.
This plugin creates a custom Admin Menu with two checkboxes:
The first checkbox allows the user to remove the core block patterns from the Gutenberg editor. This feature can be activated or deactivated.
The second checkbox allows the user to deactivate the WordPress REST API for non-authenticated users. This feature can be activated or deactivated.
After plugin activation, both options will be disabled by default.