From d87562d9d778ba9895c5525a77aa52c885c22bca Mon Sep 17 00:00:00 2001 From: Richard Ockerby Date: Fri, 11 Apr 2025 23:59:01 +0100 Subject: [PATCH] Correct reference to unregister export --- .../extension-registry/replace-exclude-or-unregister.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/15/umbraco-cms/customizing/extending-overview/extension-registry/replace-exclude-or-unregister.md b/15/umbraco-cms/customizing/extending-overview/extension-registry/replace-exclude-or-unregister.md index d4ae61646a7..0fded461712 100644 --- a/15/umbraco-cms/customizing/extending-overview/extension-registry/replace-exclude-or-unregister.md +++ b/15/umbraco-cms/customizing/extending-overview/extension-registry/replace-exclude-or-unregister.md @@ -54,12 +54,12 @@ UmbExtensionRegistry.exclude('Umb.WorkspaceAction.Document.SaveAndPreview'); ## Unregister -You can also choose to unregister an extension, this is only preferred if you registered the extension and are in control of the flow. If its not your Extension please seek to use the `Overwrites` or `Exclude` feature. +You can also choose to unregister an extension, this is only preferred if you registered the extension and are in control of the flow. If it's not your Extension please seek to use the `Overwrites` or `Exclude` feature. ```typescript -import { UmbExtensionRegistry } from '@umbraco-cms/backoffice/extension-api'; +import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry'; -UmbExtensionRegistry.unregister('My.WorkspaceAction.AutoFillWithUnicorns'); +umbExtensionsRegistry.unregister('My.WorkspaceAction.AutoFillWithUnicorns'); ``` This will not prevent the Extension from being registered again.