{"version":"2.1.242","anchor":"administrators-and-bare-can-block-plugin-hooks-from-loading","canonical_anchor":"administrators-and-bare-can-block-plugin-hooks-from-loading","heading":"Administrators and --bare can block plugin hooks from loading","tier":"use","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/administrators-and-bare-can-block-plugin-hooks-from-loading","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Administrators and --bare can block plugin hooks from loading\n\nTwo managed settings can block plugin hooks entirely or allow only managed plugins.\n\n**What**\n\nEven with the rollout flag on, the loader filters which plugins may contribute hooks. Two managed settings keys control it: disableAllHooks blocks every plugin, and allowManagedHooksOnly restricts loading to managed plugins.\n\n**Details**\n\n- Running with --bare disables hooks entirely.\n- When two plugins share a name, only the first loads: the managed one, or otherwise the one from the earlier source.\n- Every exclusion is logged with the reason it was excluded.\n\n**Evidence**\n\n`only managed plugins run (allowManagedHooksOnly \/ disableAllHooks)`\n\n- Area: Plugins\n- Names: `disableAllHooks`, `allowManagedHooksOnly`, `--bare`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 4\/5"}